mirror of
https://github.com/markqvist/NomadNet.git
synced 2025-05-07 08:35:11 -04:00
UI improvement in small terminals. Urwid bug mitigation.
This commit is contained in:
parent
8ff629a3e2
commit
686ca41b4e
6 changed files with 41 additions and 8 deletions
|
@ -125,6 +125,7 @@ class MainDisplay():
|
|||
def update_active_sub_display(self):
|
||||
self.frame.contents["body"] = (self.sub_displays.active().widget, None)
|
||||
self.update_active_shortcuts()
|
||||
self.app.ui.main_display.request_redraw(extra_delay=0.0)
|
||||
|
||||
def update_active_shortcuts(self):
|
||||
self.frame.contents["footer"] = (self.sub_displays.active().shortcuts().widget, None)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue