Catch unhandled Ctrl-E before passing to terminal

pull/27/head
Mark Qvist 2023-02-09 12:40:35 +01:00
parent f4e3f1cb46
commit 2d6cd8e33f
1 changed files with 2 additions and 0 deletions

View File

@ -217,6 +217,8 @@ class TextUI:
def unhandled_input(self, key):
if key == "ctrl q":
raise urwid.ExitMainLoop
elif key == "ctrl e":
pass
def display_main(self, loop, user_data):
self.loop.widget = self.main_display.widget