Add delay to TUI() initialization

Avoids issue where the main menu is printed before the layout is fully
set causing the first few lines to be hidden by the title pane.
This commit is contained in:
2Shirt 2023-07-08 18:32:31 -07:00
parent 0ace951380
commit 4a34f5477d
Signed by: 2Shirt
GPG key ID: 152FAC923B0E132C

View file

@ -211,6 +211,9 @@ class TUI():
),
))
# Done
sleep(0.2)
def remove_all_info_panes(self) -> None:
"""Remove all info panes and update layout."""
self.layout['Info'].pop('height', None)