The latest version of ascii-progress is 0.3.3.0-0.
ascii-progress
Version 0.1.0.1 revision 0 uploaded by yamadapc.
Package meta
- Synopsis
- A simple progress bar for the console.
- Description
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- Author
- Pedro Tacla Yamada
- Bug reports
- n/a
- Category
- System
- Copyright
- (c) 2015 Pedro Tacla Yamada
- Homepage
- https://github.com/yamadapc/haskell-ascii-progress
- Maintainer
- tacla.yamada@gmail.com
- Package URL
- n/a
- Stability
- n/a