Codebase list golang-github-vbauerster-mpb / 34527b1
wrap const in []byte(), for consistency sake Vladimir Bauer 3 years ago
1 changed file(s) with 1 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
6060
6161 func (b escWriter) ansiCuuAndEd(out io.Writer, n int) error {
6262 b = strconv.AppendInt(b, int64(n), 10)
63 _, err := out.Write(append(b, cuuAndEd...))
63 _, err := out.Write(append(b, []byte(cuuAndEd)...))
6464 return err
6565 }