-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to create a progress bar that changes its text on each interation? #121
Comments
It's not currently possible to pass in an object to modify the progress layout like that, but it's a good idea and should be added. For now, if you aren't using any of the animated columns like You could also clear the animation and create a new one each time the file changes, but that will cause the progress bar to reset too, so that's not ideal. |
Hello, I would like to express my interest in having this feature as well. In my particular use case, I generate intermediate results from an algorithm over a specific duration. (the duration is from the user's input) Anyway, I would like to thank you for the work that has been accomplished thus far. It is greatly appreciated. :-) |
@CharlyRien I'm working on this right now on the multi-progress branch. If you're able to build and test it out, I'd love any feedback you have. I gave an example of the new API in #149 (comment), or you can look at the sample. |
Hey @ajalt I'll probably test this out this week. |
I struggle to create a simple progress bar that shows the progress when iterating over a list of files. I'd like to show the name of the current file, it's index relative to the total count, and the percentage. So something like
first.file 1/50 2%
➡️second.file 2/50 4%
➡️ ...Is this possible currently, or does the
text()
need to remain static?The text was updated successfully, but these errors were encountered: