Improved dialog navigation

This commit is contained in:
Mark Qvist 2022-07-04 14:34:34 +02:00
parent 27dc1b5fb5
commit f75b4d0b57
2 changed files with 34 additions and 1 deletions

View file

@ -210,7 +210,8 @@ class TextUI:
self.screen.reset_default_terminal_palette()
def unhandled_input(self, key):
pass
if key == "ctrl q":
raise urwid.ExitMainLoop
def display_main(self, loop, user_data):
self.loop.widget = self.main_display.widget