alternate screen

This commit is contained in:
Will McGugan 2021-02-06 16:28:00 +00:00
parent 122b8131bb
commit 930dfbde28
4 changed files with 82 additions and 5 deletions

View file

@ -75,7 +75,11 @@ table_centered = Columns((table,), align="center", expand=True)
console.clear()
with Live(
table_centered, console=console, refresh_per_second=10, vertical_overflow="ellipsis"
table_centered,
console=console,
screen=True,
refresh_per_second=10,
vertical_overflow="ellipsis",
):
with beat(10):