This commit is contained in:
Will McGugan 2020-12-03 17:17:24 +00:00
parent b1612f9da1
commit bf93e45dbc
8 changed files with 81 additions and 16 deletions

View file

@ -75,7 +75,7 @@ def create_process_table(height: int) -> Table:
console = Console()
with Live(console=console, transient=True, refresh_per_second=10) as live:
with Live(console=console, transient=True, auto_refresh=False) as live:
while True:
live.update(create_process_table(console.size.height - 4))
time.sleep(1.5)
live.update(create_process_table(console.size.height - 4), refresh=True)
time.sleep(1)