mirror of
https://github.com/Textualize/rich.git
synced 2025-08-04 01:58:24 +00:00
rules
This commit is contained in:
parent
b1612f9da1
commit
bf93e45dbc
8 changed files with 81 additions and 16 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue