Skip to content

aki237/pbar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

pbar

Show a simple progress bar in the terminal window with basic options.

Usage

A sample example is given in the example directory. With 2 simple steps and an optional step a simple progressbar can be shown.

Create a simple Bar object

b := pbar.NewBar("sample.tar.xz")

Optionally setup the display variables which alters the speed display

b.SetSpeedInfo(300, "MB/s")

Update the progress

b.Update(34)

Doumentation

About

Show a simple progress bar in the terminal window with basic options.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages