You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In my case, I'd like to set the bar to the exact final total number in case the process doesn't go to completion.
No combination of set/tick/flush does get me an updated state when the ProgressBar goes out of scope.
Looks like there's no final redraw upon exiting the thread. At first I though it might be some kind of a race condition, so checked with sleeping the main thread to no avail.
Some possible solutions in order of preference:
Make flush or tick ignore the refresh rate.
Expose a manual redraw.
Add a finish_with(final: u64) - not ideal, as the ProgressBar.count is not public (why?), which means a duplicating variable is necessary on user's side.
The text was updated successfully, but these errors were encountered:
In my case, I'd like to set the bar to the exact final total number in case the process doesn't go to completion.
No combination of
set/tick/flush
does get me an updated state when the ProgressBar goes out of scope.Looks like there's no final redraw upon exiting the thread. At first I though it might be some kind of a race condition, so checked with sleeping the main thread to no avail.
Some possible solutions in order of preference:
flush
ortick
ignore the refresh rate.redraw
.finish_with(final: u64)
- not ideal, as theProgressBar.count
is not public (why?), which means a duplicating variable is necessary on user's side.The text was updated successfully, but these errors were encountered: