Codebase list golang-github-vbauerster-mpb / 8cab019
prefer bytes.NewReader Vladimir Bauer 3 years ago
1 changed file(s) with 1 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
444444
445445 func (s *bState) draw(stat decor.Statistics) io.Reader {
446446 bufP, bufB, bufA := s.buffers[0], s.buffers[1], s.buffers[2]
447 nlr := strings.NewReader("\n")
447 nlr := bytes.NewReader([]byte("\n"))
448448 tw := stat.AvailableWidth
449449 for _, d := range s.pDecorators {
450450 str := d.Decor(stat)