diff --git a/bar_option.go b/bar_option.go index bf3d5d5..2ffa497 100644 --- a/bar_option.go +++ b/bar_option.go @@ -130,7 +130,10 @@ buf := new(bytes.Buffer) base := func(rows []io.Reader, stat decor.Statistics) []io.Reader { buf.Reset() - filler.Fill(buf, stat) + err := filler.Fill(buf, stat) + if err != nil { + panic(err) + } for { b, err := buf.ReadBytes('\n') if err != nil {