diff --git a/decor/decorator.go b/decor/decorator.go index 07900ad..3d781d3 100644 --- a/decor/decorator.go +++ b/decor/decorator.go @@ -44,8 +44,8 @@ ET_STYLE_MMSS ) -// Statistics consists of progress related statistics, that Decorator -// may need. +// Statistics contains fields which are necessary for implementing +// `decor.Decorator` and `mpb.BarFiller` interfaces. type Statistics struct { AvailableWidth int // calculated width initially equal to terminal width RequestedWidth int // width set by `mpb.WithWidth`