pb icon indicating copy to clipboard operation
pb copied to clipboard

Console progress bar for Golang

Results 28 pb issues
Sort by recently updated
recently updated
newest added

Downloading a large file, result incorrect output of megabytes of downloaded size and current percentage of download. File that I download: https://cdimage.debian.org/debian-cd/current/amd64/iso-cd/debian-11.3.0-amd64-netinst.iso ![image](https://user-images.githubusercontent.com/71683721/177085858-6134a421-264e-464d-acf8-35feaf7c24ba.png) Total size of the file in `ContentLength`...

Some colors are defined in `defaultTemplateFuncs`, but these are only some of the colors in the `color` package, how to use more colors quickly? ```go // Foreground text colors const...

Every exported function in a program should have a doc comment. The first sentence should be a summary that starts with the name being declared. From [effective go](https://golang.org/doc/effective_go.html#commentary). PR generated...

Thanks for your working of pb, it's great repo. I have a question about speed: How can i use speed about MiB/s and not p/s. Thanks any help!

I'm in need of a ProxyReadSeeker to wrap ReadSeekers (like files) for use with the AWS go SDK. stuff like s3.PutObject() says it takes an io.Reader, but really requires an...

@cheggaaa When the terminal screensize is small and the number of progress bars are more the progress bars rendering fails ``` func Example_multiple() { // create bars //first := pb.New(200).Prefix("App1...

Hello, thanks for your work. I want to print some log when the progress bar is running. But I run in to trouble. What I want to achieve: ``` some...

How to reproduce: ```go bar := pb.New(1000) bar.Output = os.Stderr bar.Start() ``` Run with: ```shell myprogram > output ``` Expected: Progress bar is drawn because output goes to Stderr and...

I want to add the break line between prefix and the progress bar ```[1/3]Prefix [2/3]#####################################################--------------------------------------------------------------------------------------------21/58``` to be like this: ``` [1/3]Prefix [2/3]#####################################################--------------------------------------------------------------------------------------------21/58 ``` my code: ```go bar.Prefix(fmt.Sprintf("[1/3] Prefix)) // add...

go version go1.7.4 darwin/amd64 macos 10.12.1 use readme code ```go package main import ( "math/rand" "sync" "time" "gopkg.in/cheggaaa/pb.v1" ) func main() { // create bars first := pb.New(200).Prefix("First ") second...