mirror of https://github.com/Textualize/rich.git
formatting
This commit is contained in:
parent
f933added1
commit
d180781465
|
@ -9,6 +9,5 @@ tasks = [f"task {n}" for n in range(1, 11)]
|
|||
with console.status("[bold green]Working on tasks...") as status:
|
||||
while tasks:
|
||||
task = tasks.pop(0)
|
||||
sleep(1)
|
||||
sleep(1)
|
||||
console.log(f"{task} complete")
|
||||
|
||||
|
|
Loading…
Reference in New Issue