diff --git a/README.md b/README.md index f34824a..236de88 100644 --- a/README.md +++ b/README.md @@ -81,8 +81,8 @@ // if you still need p.AddBar() here and maintain ordering, use // (*mpb.Progress).BeforeRenderFunc(f mpb.BeforeRender) for i := 0; i < 100; i++ { + time.Sleep(time.Duration(rand.Intn(100)) * time.Millisecond) bar.Incr(1) - time.Sleep(time.Duration(rand.Intn(100)) * time.Millisecond) } }() }