Closed matthewhchan closed 1 year ago
This lets you more concisely set the finish behavior of the progress bar when using ProgressBarIter.
ProgressBarIter
For example, to show a progress bar and keep it displayed when it finishes, you can do
v.iter().progress().with_finish(ProgressFinish::AndLeave)
instead of
v.iter() .progress_with(ProgressBar::new(v.len() as u64).with_finish(ProgressFinish::AndLeave));
Closes #545
Thanks!
This lets you more concisely set the finish behavior of the progress bar when using
ProgressBarIter
.For example, to show a progress bar and keep it displayed when it finishes, you can do
instead of
Closes #545