fix(progress): do not escape sequence

resolves #5215
This commit is contained in:
Jan De Dobbeleer 2024-07-06 10:27:25 +02:00 committed by Jan De Dobbeleer
parent 37b8e55131
commit e9119d4a2d

View file

@ -248,7 +248,7 @@ func StartProgress() string {
return ""
}
return fmt.Sprintf(formats.Escape, startProgress)
return startProgress
}
func StopProgress() string {
@ -256,7 +256,7 @@ func StopProgress() string {
return ""
}
return fmt.Sprintf(formats.Escape, endProgress)
return endProgress
}
func Write(background, foreground color.Ansi, text string) {