mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-01-11 12:42:34 +01:00
Added quit function.
This commit is contained in:
parent
5bc901e125
commit
1e910d3948
@ -59,3 +59,6 @@ def yn(prompt):
|
||||
|
||||
def ny(prompt):
|
||||
return expect(prompt, ['n', 'y'])
|
||||
|
||||
def quit(prompt):
|
||||
return anything(prompt) not in ('q', 'quit')
|
||||
|
Loading…
Reference in New Issue
Block a user