terminal-progress-bar

A simple progress bar in the terminal

https://github.com/roelvandijk/terminal-progress-bar

Version on this page:0.0.1.4@rev:1
LTS Haskell 17.11:0.4.1
Stackage Nightly 2021-05-10: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
This version can be pinned in stack with:terminal-progress-bar-0.0.1.4@sha256:c99ed8bba9211163bfb321b2798bd9ebef1455fd2c98e3094db3cc7e696f5832,2748

Module documentation for 0.0.1.4

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 build the package with the -fexample flag for a small example program.

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

Note: Due to a bug in "cabal haddock" you will have to manually uncomment the example section in the cabal file. But uncommenting that section will result in "cabal haddock" failing.