progressbar
progressbar copied to clipboard
Is it possible to wait for the drawing of the bar to complete?
When using the "imperative style" I sometimes end up with the progress bar stop drawing at say 10% - is this due to the background thread terminating when the block is exited and if so is there a way to wait for the drawing of the bar to finish before exiting the block?
Are you using the try (Progressbar pb = ...)
pattern? If yes, it should stop properly. If not, you can use pb.close()
to manually finish the progress bar, forcing it to draw one last time.