progressbar
progressbar copied to clipboard
A really basic thread-safe progress bar for Golang applications
ansi.NewAnsiStdout() undefined
Hello, thanks for this library. I use this to have a progress bar when I read a file, but I have a little bug. I call `file.Stat()` to have the...
After importing the package and working with it, I tried to commit and end up with this issue. In our project, when we import a new package we use `go...
In go.mod, there is `github.com/rivo/uniseg v0.4.3 // indirect`, which breaks specified go version `go 1.13`. There's no need to require it since `github.com/mattn/go-runewidth v0.0.14` already uses `github.com/rivo/uniseg v0.2.0` with the...
When trying to follow docker container logs with "docker logs container -f" the progress bar is not showing even though by default it's following StdOut and the progress bar is...
I start my progress bar as indeterminate for the first query that retrieves the count. Then I set the count as the new max, my log line does show the...
I'm trying this code: ``` func main() { bar := progressbar.NewOptions(-1, progressbar.OptionSetDescription("spinnertest"), progressbar.OptionShowIts(), progressbar.OptionShowCount(), progressbar.OptionSpinnerType(7), ) for i:=0; i < 100; i++ { bar.Add(1) time.Sleep(1 * time.Second) } } ```...
that would be nice to have an option of having something like below `/ Syncing items... (24, 23 items/min) [1m2s]` instead of `/ Syncing items... (24/-, 23 items/min) [1m2s]`
Display elapsed time at the end of the bar when elapsedTime is enabled while predictTime is set to false. To avoid breaking changes, the default value of the elapsed time...
The Go Race Detector pointed out a data race between the methods ChangeMax64 and State or GetMax64. State already takes the lock, but others did not.