diff --git a/bar.go b/bar.go index 6ce975a..8505a99 100644 --- a/bar.go +++ b/bar.go @@ -267,7 +267,7 @@ } } -func (b *Bar) render(debugOut io.Writer, tw int) { +func (b *Bar) render(tw int) { if b.bpanic != nil { b.toShutdown = false b.frameCh <- b.panicToFrame(tw) diff --git a/progress.go b/progress.go index 98893c2..30294f5 100644 --- a/progress.go +++ b/progress.go @@ -253,7 +253,7 @@ } for i := 0; i < s.bHeap.Len(); i++ { bar := (*s.bHeap)[i] - go bar.render(s.debugOut, tw) + go bar.render(tw) } return s.flush(cw)