Skip to content
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

Add a default clear mode #6

Closed
mitsuhiko opened this issue Apr 28, 2017 · 1 comment
Closed

Add a default clear mode #6

mitsuhiko opened this issue Apr 28, 2017 · 1 comment

Comments

@mitsuhiko
Copy link
Collaborator

ProgressBar::finish should clear with a style default setting. This would also help Drop automatically clear progress bars if wanted.

eg:

let style = ProgressStyle::new().clear_on_finish(true);

Then the progress bar will automatically disappear if someone calls finish() on it.

@djc
Copy link
Collaborator

djc commented Feb 22, 2022

We now have 6 different finish modes that can be used, so I believe this is fixed.

@djc djc closed this as completed Feb 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants