A simple progress bar for Nim.
nimble install progress
# 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()
A simple progress bar for Nim.
nimble install progress
# 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()