improved godoc for decor.Statistics
Vladimir Bauer
3 years ago
| 43 | 43 | ET_STYLE_MMSS |
| 44 | 44 | ) |
| 45 | 45 | |
| 46 | // Statistics consists of progress related statistics, that Decorator | |
| 47 | // may need. | |
| 46 | // Statistics contains fields which are necessary for implementing | |
| 47 | // `decor.Decorator` and `mpb.BarFiller` interfaces. | |
| 48 | 48 | type Statistics struct { |
| 49 | 49 | AvailableWidth int // calculated width initially equal to terminal width |
| 50 | 50 | RequestedWidth int // width set by `mpb.WithWidth` |