UI improvement in small terminals. Urwid bug mitigation.

This commit is contained in:
Mark Qvist 2021-11-04 21:51:11 +01:00
parent 8ff629a3e2
commit 686ca41b4e
6 changed files with 41 additions and 8 deletions

View file

@ -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)