/progress.nim

A simple progress bar for Nim.

Primary LanguageNimBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

progress.nim Build Status

A simple progress bar for Nim.

Demo

Installation

nimble install progress

Usage

# os is only needed for `sleep`
import progress, os

var bar = newProgressBar()
bar.start()

for i in 1..100:
  # Do some work
  sleep(100)
  bar.increment()

bar.finish()