commit
c0cef47b1e
1 changed files with 1 additions and 1 deletions
|
@ -85,7 +85,7 @@ func (jm *JSONMessage) Display(out io.Writer, isTerminal bool) error {
|
|||
return jm.Error
|
||||
}
|
||||
var endl string
|
||||
if isTerminal {
|
||||
if isTerminal && jm.Stream == "" {
|
||||
// <ESC>[2K = erase entire current line
|
||||
fmt.Fprintf(out, "%c[2K\r", 27)
|
||||
endl = "\r"
|
||||
|
|
Loading…
Add table
Reference in a new issue