diff --git a/README.md b/README.md index 2be62bb..8b9b759 100644 --- a/README.md +++ b/README.md @@ -54,7 +54,8 @@ mpb.PrependDecorators( // Name decorator with minWidth and no width sync options decor.Name(name, len(name), 0), - // ETA decorator with minWidth and width sync options DwidthSync|DextraSpace + // ETA decorator with minWidth and width sync options + // DSyncSpace is shortcut for DwidthSync|DextraSpace decor.ETA(4, decor.DSyncSpace), ), // Appending decorators diff --git a/examples/singleBar/main.go b/examples/singleBar/main.go index f43d3f7..0813cf1 100644 --- a/examples/singleBar/main.go +++ b/examples/singleBar/main.go @@ -26,7 +26,8 @@ mpb.PrependDecorators( // Name decorator with minWidth and no width sync options decor.Name(name, len(name), 0), - // ETA decorator with minWidth and width sync options DwidthSync|DextraSpace + // ETA decorator with minWidth and width sync options + // DSyncSpace is shortcut for DwidthSync|DextraSpace decor.ETA(4, decor.DSyncSpace), ), // Appending decorators