fix(bash): correct escape sequence for blink

resolves #2101
This commit is contained in:
Jan De Dobbeleer 2022-04-16 21:21:04 +02:00 committed by Jan De Dobbeleer
parent fb698dd20a
commit 2b4b1a8618

View file

@ -98,7 +98,7 @@ func (a *Ansi) Init(shellName string) {
a.bold = "\\[\x1b[1m\\]%s\\[\x1b[22m\\]"
a.italic = "\\[\x1b[3m\\]%s\\[\x1b[23m\\]"
a.underline = "\\[\x1b[4m\\]%s\\[\x1b[24m\\]"
a.blink = "\\[\x1b[5m%s\\[\x1b[25m\\]"
a.blink = "\\[\x1b[5m\\]%s\\[\x1b[25m\\]"
a.reverse = "\\[\x1b[7m\\]%s\\[\x1b[27m\\]"
a.dimmed = "\\[\x1b[2m\\]%s\\[\x1b[22m\\]"
a.strikethrough = "\\[\x1b[9m\\]%s\\[\x1b[29m\\]"