ascii-progress: A simple progress bar for the console.

[ library, mit, system ] [ Propose Tags ]

A simple Haskell progress bar for the console. Heavily borrows from TJ Holowaychuk's Node.JS project progress import Control.Concurrent (threadDelay) import Control.Monad (unless) import System.Console.AsciiProgress (Options(..), isComplete, def, newProgressBar, tick) main :: IO () main = do pg <- newProgressBar def { pgWidth = 50 } loop pg where loop pg = do b <- isComplete pg unless b $ do threadDelay $ 200 * 1000 tick pg loop pg github

Versions [faq],,,,,,,,,,,,,
Dependencies ansi-terminal, async (>=, base (==4.7.*), data-default (>=0.5.3), MissingH, time (>=1.4.2) [details]
License GPL-2.0-only
Copyright (c) 2015 Pedro Tacla Yamada
Author Pedro Tacla Yamada
Category System
Home page
Uploaded by yamadapc at 2015-02-05T00:17:10Z
Distributions LTSHaskell:, NixOS:, Stackage:, openSUSE:
Executables example
Downloads 12488 total (112 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs available [build log]
Last success reported on 2015-02-05 [all 1 reports]




Maintainer's Corner

For package maintainers and hackage trustees