Textualize / rich

Rich is a Python library for rich text and beautiful formatting in the terminal.
https://rich.readthedocs.io/en/latest/
MIT License
48.1k stars 1.69k forks source link

How to create multiline description for progress bar #3371

Closed pingpongterminator300 closed 3 weeks ago

pingpongterminator300 commented 4 weeks ago

I've already found that i can create extra value using {task.fields[message]} My goal is to display something like this:

Custom value text
Description ================ (progress bar)

How can i add custom fields above progress bar so it'll stick at the bottom of terminal with progress?

github-actions[bot] commented 4 weeks ago

Thank you for your issue. Give us a little time to review it.

PS. You might want to check the FAQ if you haven't done so already.

This is an automated reply, generated by FAQtory

pingpongterminator300 commented 3 weeks ago

Found solution here https://github.com/Textualize/rich/blob/master/examples/dynamic_progress.py

github-actions[bot] commented 3 weeks ago

I hope we solved your problem.

If you like using Rich, you might also enjoy Textual