mirror of
https://github.com/markqvist/NomadNet.git
synced 2026-11-26 01:46:22 -05:00
NomadNetworkApp: Add a quit dialog on Ctrl + Q and header Quit
This commit is contained in:
parent
0213ecbcb9
commit
44594ff448
3 changed files with 66 additions and 2 deletions
|
|
@ -273,7 +273,7 @@ class TextUI:
|
|||
|
||||
def unhandled_input(self, key):
|
||||
if key == "ctrl q":
|
||||
raise urwid.ExitMainLoop
|
||||
self.main_display.show_quit_dialog()
|
||||
elif key == "ctrl e":
|
||||
pass
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue