Console progress bar for Scala Inspired from pb.
- simple example
object Main {
def main(args: Array[String]) {
var count = 1000
var pb = new ProgressBar(count)
// Default is true for all fields
pb.showSpeed = false
for (_ <- 1 to count) {
pb.add(1)
Thread.sleep(10)
}
println("done")
}
}