A simple progress bar in the terminal https://github.com/roelvandijk/terminal-progress-bar

Version on this page:
LTS Haskell 14.6:0.4.1
Stackage Nightly 2019-09-21:0.4.1
Latest on Hackage:0.4.1

See all snapshots terminal-progress-bar appears in

BSD-3-Clause licensed and maintained by Roel van Dijk

Module documentation for

This version can be pinned in stack with:terminal-progress-bar-,2391

A progress bar is used to convey the progress of a task. This package implements a very simple textual progress bar.

See the module System.ProgressBar on how to use the progress bar or look at the terminal-progress-bar-example package.

The animated progress bar depends entirely on the interpretation of the carriage return character ('\r'). If your terminal interprets it as something else than "move cursor to beginning of line", the animation won't work.

comments powered byDisqus