diff --git a/README.md b/README.md index 0427949..c0d097c 100644 --- a/README.md +++ b/README.md @@ -107,11 +107,9 @@ ![dynTotal.gif](examples/gifs/dynTotal.gif) -#### [Adaptive resize](examples/prependETA/main.go) +#### [Complex example](examples/complex/main.go) -![resize.gif](examples/gifs/resize.gif) - -_Note:_ don't expect much, it corrupts if resizing too fast. +![complex.gif](examples/gifs/complex.gif) #### [Bytes counter decorator](examples/io/multiple/main.go) diff --git a/examples/complex/main.go b/examples/complex/main.go index 9ed4d80..ae84d95 100644 --- a/examples/complex/main.go +++ b/examples/complex/main.go @@ -15,7 +15,7 @@ } func main() { - p := mpb.New() + p := mpb.New(mpb.WithWidth(64)) total := 200 numBars := 3 diff --git a/examples/gifs/dynTotal.gif b/examples/gifs/dynTotal.gif index c11882a..dd3a9e2 100644 Binary files a/examples/gifs/dynTotal.gif and b/examples/gifs/dynTotal.gif differ diff --git a/examples/gifs/resize.gif b/examples/gifs/resize.gif deleted file mode 100644 index afdadf9..0000000 Binary files a/examples/gifs/resize.gif and /dev/null differ