ascii-progress 0.1.0.2 → 0.1.0.3
raw patch · 1 files changed
+4/−22 lines, 1 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- ascii-progress.cabal +4/−22
ascii-progress.cabal view
@@ -1,29 +1,11 @@ name: ascii-progress-version: 0.1.0.2+version: 0.1.0.3 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 <https://github.com/tj/node-progress 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- @@@-+ Holowaychuk's Node.JS project+ <https://github.com/tj/node-progress progress>+ . <https://github.com/yamadapc/haskell-ascii-progress github> homepage: https://github.com/yamadapc/haskell-ascii-progress