mirror of
https://github.com/markqvist/NomadNet.git
synced 2025-01-23 04:51:12 -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):
|
def unhandled_input(self, key):
|
||||||
if key == "ctrl q":
|
if key == "ctrl q":
|
||||||
raise urwid.ExitMainLoop
|
raise urwid.ExitMainLoop
|
||||||
|
elif key == "ctrl e":
|
||||||
|
pass
|
||||||
|
|
||||||
def display_main(self, loop, user_data):
|
def display_main(self, loop, user_data):
|
||||||
self.loop.widget = self.main_display.widget
|
self.loop.widget = self.main_display.widget
|
||||||
|
Loading…
Reference in New Issue
Block a user