diff --git a/src/cmd/pprof/readlineui.go b/src/cmd/pprof/readlineui.go index 67fb7aa49c..6e91816f9b 100644 --- a/src/cmd/pprof/readlineui.go +++ b/src/cmd/pprof/readlineui.go @@ -86,7 +86,7 @@ func (r *readlineUI) print(withColor bool, args ...interface{}) { if withColor { text = colorize(text) } - fmt.Fprintf(r.term, text) + fmt.Fprint(r.term, text) } // colorize prints the msg in red using ANSI color escapes.