Skip to content

Commit

Permalink
fix WSL carriage return
Browse files Browse the repository at this point in the history
  • Loading branch information
AskAlice committed Jun 3, 2021
1 parent 08a4067 commit a975c3c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spinner.go
Expand Up @@ -405,7 +405,7 @@ func (s *Spinner) erase() {
s.lastOutput = ""
return
}
fmt.Fprintf(s.Writer, "\r\033[K") // erases to end of line
fmt.Fprintf(s.Writer, "\033[K") // erases to end of line
s.lastOutput = ""
}

Expand Down

0 comments on commit a975c3c

Please sign in to comment.