HORIZON HASKELLDocslts/ghc-9.10.x248f8f02026-10-05Search names, modules, packages, or :: a typeCtrl K

GHC 9.10.3 · lts/ghc-9.10.x · 248f8f0 · 2026-10-05

Modulebrick-2.10Haskell2010

Brick.Widgets.ProgressBar

This module provides a progress bar widget.

  • 4 values
  • Packagebrick-2.10
  • Exports4
  • LanguageHaskell2010
  • LicenceBSD-3-Clause
  • SourceProgressBar.hs
valueprogressBar
  1. :: Maybe String

    The label. If specified, this is shown in the center of the progress bar.

  2. -> Float

    The progress value. Should be between 0 and 1 inclusive.

  3. -> Widget n
#

Draw a progress bar with the specified (optional) label and progress value. This fills available horizontal space and is one row high.

valuecustomProgressBar
  1. :: Char

    Character to fill the completed part.

  2. -> Char

    Character to fill the incomplete part.

  3. -> Maybe String

    The label. If specified, this is shown in the center of the progress bar.

  4. -> Float

    The progress value. Should be between 0 and 1 inclusive.

  5. -> Widget n
#

Draw a progress bar with the specified (optional) label, progress value and custom characters to fill the progress. This fills available horizontal space and is one row high. Please be aware of using wide characters in Brick, see Wide Character Support and the TextWidth class

Attributes

2 declarations