Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork9.7k
[Console] added ProgressBar (to replace the stateful ProgressHelper class)#10355
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
fabpot commentedMar 1, 2014
By the way, that also makes the progress bar part of the Console more easily reusable outside the context of a full console app/command. |
wouterj commentedMar 1, 2014
Wouldn't it be nicer if there was a ProgressGroup or the like? There we can specify multiple progress bars and tell if it shoúld be placed horizontal or vertical. It would also handle the "moved one line up" things |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
integer for consistency
fabpot commentedMar 1, 2014
I don't think it would make sense to create a ProgressGroup as it won't bring much to the table (and would restrict what you could do). |
fabpot commentedMar 1, 2014
Closing for#10356 instead. |
TODO:
This PR deprecated
ProgressHelperin favor ofProgressBar. The main difference is that the newProgressBarclass is stateless, which allows for more than one bar to be displayed at a time:And here is how it looks like when run: