mirror of
https://github.com/markqvist/NomadNet.git
synced 2025-12-17 14:54:26 +01:00
Catch unhandled Ctrl-E before passing to terminal
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user