Codebase list golang-github-vbauerster-mpb / b7b647a
Right Space fix Vladimir Bauer 8 years ago
1 changed file(s) with 4 addition(s) and 4 deletion(s). Raw diff Collapse all Expand all
349349
350350 // render append functions to the right of the bar
351351 s.bufA.Reset()
352 if !s.trimRightSpace {
353 s.bufA.WriteByte(' ')
354 }
355
352356 for i, f := range s.appendFuncs {
353357 s.bufA.WriteString(f(stat, appendWs.Listen[i], appendWs.Result[i]))
354 }
355
356 if !s.trimRightSpace {
357 s.bufA.WriteByte(' ')
358358 }
359359
360360 prependCount := utf8.RuneCount(s.bufP.Bytes())