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:
parent
0ace951380
commit
4a34f5477d
1 changed files with 3 additions and 0 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue