diff --git a/README.md b/README.md index bee8ebc..6fc2c8b 100644 --- a/README.md +++ b/README.md @@ -37,8 +37,8 @@ // Star mpb's rendering goroutine. p := mpb.New() // Set custom width for every bar, which mpb will render - // The default one in 70 - p.SetWidth(80) + // The default one in 80 + p.SetWidth(100) // Set custom format for every bar, the default one is "[=>-]" p.Format("╢▌▌░╟") // Set custom refresh rate, the default one is 100 ms diff --git a/example_test.go b/example_test.go index ecc2b2e..9c807c8 100644 --- a/example_test.go +++ b/example_test.go @@ -12,12 +12,10 @@ func Example() { // Star mpb's rendering goroutine. - // If you don't plan to cancel, feed with nil - // otherwise provide context.Context, see cancel example p := mpb.New() // Set custom width for every bar, which mpb will contain - // The default one in 70 - p.SetWidth(80) + // The default one in 80 + p.SetWidth(100) // Set custom format for every bar, the default one is "[=>-]" p.Format("╢▌▌░╟") // Set custom refresh rate, the default one is 100 ms