Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/a8m/pb-scala
Console progress bar for Scala
https://github.com/a8m/pb-scala
Last synced: 15 days ago
JSON representation
Console progress bar for Scala
- Host: GitHub
- URL: https://github.com/a8m/pb-scala
- Owner: a8m
- Created: 2015-11-04T05:50:46.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2021-03-13T20:07:15.000Z (over 3 years ago)
- Last Synced: 2024-10-14T21:05:01.460Z (29 days ago)
- Language: Scala
- Size: 325 KB
- Stars: 37
- Watchers: 3
- Forks: 14
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Terminal progress bar for Scala
Console progress bar for Scala Inspired from [pb](http://github.com/cheggaaa/pb).
![Screenshot](https://github.com/a8m/pb-scala/blob/master/gif/pb_rec.gif)
## Examples
1. simple example
```scala
object Main {
def main(args: Array[String]) {
var count = 1000
var pb = new ProgressBar(count)
pb.showSpeed = false
for (_ <- 1 to count) {
pb += 1
Thread.sleep(10)
}
println("done")
}
}
```