diff --git a/bar.go b/bar.go index 761c353..6f28a7e 100644 --- a/bar.go +++ b/bar.go @@ -506,6 +506,8 @@ if resP.truncate { trunc := strings.NewReader(runewidth.Truncate(stripansi.Strip(bufP.String()), resP.width, "…")) bufP.Reset() + bufB.Reset() + bufA.Reset() return trunc, nil }