Skip to content
WonderboyFromMarsPublic

About

Small console progressbar

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

19 Commits

Folders and files

Repository files navigation

swift-pb

Swift-Pb is a port of the excellent rust pb crate! I started this as an experimental project to learn the swift programming language and use it outside of IOS or MacOS.

Example usage

var pb = ProgressBar(total: 100_000)
pb.showTick = true
pb.format("╢▌▌░╟")
pb.showTimeLeft = false
pb.showPercent = false
pb.showSpeed = true
pb.units = .Bytes

for _ in 0..<100_000 {
    usleep(100)
    let _ = pb.add(1)
}

About

Small console progressbar

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages