BSD-3-Clause licensed and maintained by Roel van Dijk
This version can be pinned in stack with:terminal-progress-bar-0.4.2@sha256:26e89ae1396e298e799035d916836f40769450a23d2b0deffe7a30f1ccdf46c0,2257

Module documentation for 0.4.2

Used by 1 package in nightly-2024-12-22(full list with versions):

A progress bar conveys the progress of a task. This package implements a progress bar that is displayed in a terminal.

See the module System.ProgressBar to get started 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.

Changes

0.4.2

  • Fixed divide by zero error in remainingTime label (thanks to daniel-chambers).

0.4.1

  • Added styleOnComplete field to Style record. Defaults to WriteNewLine. Gives the ability to clear the progress bar once finished.

  • Added this changelog.

0.4.0.2

  • Improved documentation