-
Notifications
You must be signed in to change notification settings - Fork 5
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
Support progress bars #1
Comments
Termcolor doesn't support advanced Windows stuff. We might be able to use some of what console does, though. |
Some notes from talking with @waywardmonkeys:
|
This will require some more refactoring and design work before I'm happy with the API. Currently, my idea was to have something like output.progress(convey::Progress::bar(i, 10).message(msg)); which would always replace the current progress bar. (Something like I think we should go one step further, though, and also help with managing the state of the progress bar in between calls. Maybe even have an iterator adapter to quickly update the progress bar in an iterator chain. My experiments so far have been just that, experiments. I'll try to write more of this down in the future, and come up with more test cases to evaluate a design against. |
()
fromOutput::print
The text was updated successfully, but these errors were encountered: