diff --git a/decor/decorators.go b/decor/decorators.go index 47e2815..06b19bf 100644 --- a/decor/decorators.go +++ b/decor/decorators.go @@ -54,7 +54,7 @@ // // `fn` DecoratorFunc to wrap // -// `width` width to apply, if `DwidthSync` bit is not set +// `width` width reservation to apply, ignored if `DwidthSync` bit is set // // `conf` bit set config, [DidentRight|DwidthSync|DextraSpace] func OnComplete(fn DecoratorFunc, message string, width, conf int) DecoratorFunc { @@ -71,7 +71,7 @@ // // `name` string to display // -// `width` width to apply, if `DwidthSync` bit is not set +// `width` width reservation to apply, ignored if `DwidthSync` bit is set // // `conf` bit set config, [DidentRight|DwidthSync|DextraSpace] func StaticName(name string, width, conf int) DecoratorFunc { @@ -85,7 +85,7 @@ // // `messageFn` callback function to get dynamic string message // -// `width` width to apply, if `DwidthSync` bit is not set +// `width` width reservation to apply, ignored if `DwidthSync` bit is set // // `conf` bit set config, [DidentRight|DwidthSync|DextraSpace] func DynamicName(messageFn func(*Statistics) string, width, conf int) DecoratorFunc { @@ -112,7 +112,7 @@ // // `pairFormat` printf compatible verbs for current and total, like "%f" or "%d" // -// `width` width to apply, if `DwidthSync` bit is not set +// `width` width reservation to apply, ignored if `DwidthSync` bit is set // // `conf` bit set config, [DidentRight|DwidthSync|DextraSpace] func CountersNoUnit(pairFormat string, width, conf int) DecoratorFunc { @@ -123,7 +123,7 @@ // // `pairFormat` printf compatible verbs for current and total, like "%f" or "%d" // -// `width` width to apply, if `DwidthSync` bit is not set +// `width` width reservation to apply, ignored if `DwidthSync` bit is set // // `conf` bit set config, [DidentRight|DwidthSync|DextraSpace] // @@ -138,7 +138,7 @@ // // `pairFormat` printf compatible verbs for current and total, like "%f" or "%d" // -// `width` width to apply, if `DwidthSync` bit is not set +// `width` width reservation to apply, ignored if `DwidthSync` bit is set // // `conf` bit set config, [DidentRight|DwidthSync|DextraSpace] // @@ -179,7 +179,7 @@ // ETA returns exponential-weighted-moving-average ETA decorator. // -// `width` width to apply, if `DwidthSync` bit is not set +// `width` width reservation to apply, ignored if `DwidthSync` bit is set // // `conf` bit set config, [DidentRight|DwidthSync|DextraSpace] func ETA(width, conf int) DecoratorFunc { @@ -204,7 +204,7 @@ // Elapsed returns elapsed time decorator. // -// `width` width to apply, if `DwidthSync` bit is not set +// `width` width reservation to apply, ignored if `DwidthSync` bit is set // // `conf` bit set config, [DidentRight|DwidthSync|DextraSpace] func Elapsed(width, conf int) DecoratorFunc { @@ -229,7 +229,7 @@ // Percentage returns percentage decorator. // -// `width` width to apply, if `DwidthSync` bit is not set +// `width` width reservation to apply, ignored if `DwidthSync` bit is set // // `conf` bit set config, [DidentRight|DwidthSync|DextraSpace] func Percentage(width, conf int) DecoratorFunc {