diff --git a/example/io/multiple/main.go b/example/io/multiple/main.go index 8f7f073..d50d2a0 100644 --- a/example/io/multiple/main.go +++ b/example/io/multiple/main.go @@ -60,9 +60,10 @@ // create bar with appropriate decorators bar := p.AddBar(size). - PrependName(name, len(name)). - PrependCounters(mpb.UnitBytes, 20). - AppendETA(-6) + PrependName(name, 0, 0). + PrependCounters(mpb.UnitBytes, 18, mpb.DwidthSync|mpb.DextraSpace). + AppendETA(5, mpb.DwidthSync) + // create proxy reader reader := bar.ProxyReader(resp.Body) // and copy from reader