Skip to content
Snippets Groups Projects
Commit 8f13703a authored by sguazt's avatar sguazt
Browse files

[tui] Make response to yes/no dialog case-insensitive

parent ef6eb926
No related branches found
No related tags found
No related merge requests found
......@@ -78,7 +78,7 @@ class SimpleTUI:
SimpleTUI.info("(Yes/No)")
while(True):
_user_input = input("> ")
_user_input = input("> ").lower()
if _user_input.isalpha():
if _user_input in yes:
return True
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment