diff --git a/bar.go b/bar.go index 46e595e..e3cd3ca 100644 --- a/bar.go +++ b/bar.go @@ -317,8 +317,8 @@ frame, lines := s.extender(s.draw(stat), s.reqWidth, stat) b.extendedLines = lines b.toShutdown = s.toComplete && !s.completeFlushed + b.frameCh <- frame s.completeFlushed = s.toComplete - b.frameCh <- frame }: case <-b.done: s := b.cacheState