Codebase list golang-github-vbauerster-mpb / 2cb94e6
BarFillerTrim godoc update Vladimir Bauer 5 years ago
1 changed file(s) with 1 addition(s) and 3 deletion(s). Raw diff Collapse all Expand all
122122 }
123123 }
124124
125 // BarFillerTrim bar filler is rendered with leading and trailing space
126 // like ' [===] ' by default. With this option leading and trailing
127 // space will be removed.
125 // BarFillerTrim removes leading and trailing space around the underlying BarFiller.
128126 func BarFillerTrim() BarOption {
129127 return func(s *bState) {
130128 s.trimSpace = true