mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-30 14:59: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):
|
def ny(prompt):
|
||||||
return expect(prompt, ['n', 'y'])
|
return expect(prompt, ['n', 'y'])
|
||||||
|
|
||||||
|
def quit(prompt):
|
||||||
|
return anything(prompt) not in ('q', 'quit')
|
||||||
|
Loading…
Reference in New Issue
Block a user