diff --git a/cwriter/writer.go b/cwriter/writer.go index fbb3d98..f345a14 100644 --- a/cwriter/writer.go +++ b/cwriter/writer.go @@ -61,6 +61,6 @@ func (b escWriter) ansiCuuAndEd(out io.Writer, n int) error { b = strconv.AppendInt(b, int64(n), 10) - _, err := out.Write(append(b, cuuAndEd...)) + _, err := out.Write(append(b, []byte(cuuAndEd)...)) return err }