Skip to content

Commit

Permalink
fix(progress): do not escape sequence
Browse files Browse the repository at this point in the history
resolves #5215
  • Loading branch information
JanDeDobbeleer committed Jul 6, 2024
1 parent 37b8e55 commit e9119d4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/terminal/writer.go
Original file line number Diff line number Diff line change
Expand Up @@ -248,15 +248,15 @@ func StartProgress() string {
return ""
}

return fmt.Sprintf(formats.Escape, startProgress)
return startProgress
}

func StopProgress() string {
if Program != WindowsTerminal {
return ""
}

return fmt.Sprintf(formats.Escape, endProgress)
return endProgress
}

func Write(background, foreground color.Ansi, text string) {
Expand Down

0 comments on commit e9119d4

Please sign in to comment.