mirror of
https://github.com/markqvist/NomadNet.git
synced 2025-01-22 20:41:08 -05:00
Catch unhandled Ctrl-E before passing to terminal
This commit is contained in:
parent
f4e3f1cb46
commit
2d6cd8e33f
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user