Archived
Added a few more prompts to make it more interesting
This commit is contained in:
1 parent
4e56067d82
commit
f5c0c0f45d
1 file changed
+7
-2
+7
-2
@@ -28,7 +28,12 @@ def get_edit_box(prompt=None):
|
||||
u"How are you feeling?",
|
||||
u"What's going on?",
|
||||
u"How are you doing?",
|
||||
u"How's it going?"]
|
||||
u"How's it going?",
|
||||
u"Are you having fun?",
|
||||
u"Salute the Lonely Wolf!",
|
||||
u"How long are you planning on staying?",
|
||||
u"Please don't post peoples names.",
|
||||
u"See something you like?"]
|
||||
if not prompt:
|
||||
prompt = random.choice(prompts)
|
||||
prompt = prompt + ":\n"
|
||||
@@ -41,7 +46,7 @@ def exit_on_q(key):
|
||||
class ConfessionBox(urwid.Filler):
|
||||
def keypress(self, size, key):
|
||||
"""
|
||||
if key == 'f12':
|
||||
if key == 'f12':
|
||||
statusbar.base_widget.set_text([('err', u"test err"),('suc', u"test suc")])
|
||||
"""
|
||||
if key != 'enter':
|
||||
|
||||
Reference in new issue
Block a user