class ProgressBar < Object
Progress bar for text output.
|out:OutputStream||The output stream on which to write.|
|current:Integer||Current fill level of the bar.|
|maximum:Integer||Maximum fill level of the bar.|
|update||Update the progress bar.|
Member Function Details
Update the progress bar.
- progress: The current progress, between 0.0 (not started) to 1.0 (complete).
The progress bar is only rewritten if its discretized progress has changed since the last update. This produces nicer results when output is redirected into a file, where rewrites are appended to the file.