axi0m/ratatoskr

๐Ÿ› Add advanced progress bar handling from rich to make error messages in console show up above progress bar

Opened this issue ยท 1 comments

axi0m commented
from rich.progress import Progress
from time import sleep

todos = range(450)

with Progress() as progress:

    task1 = progress.add_task("Processing todos", todos)

    while not progress.finished:
        progress.console.print(f"Working on job #{task1}")
        progress.update(task1, advance=10)
        sleep(1)%

Sample code above. Need to reformat the main track loops to leverage this instead.

axi0m commented

Image