mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2024-11-10 04:54:03 -08:00
fix(fish): escape all prompt sequences
This commit is contained in:
parent
cae456db7b
commit
a2f5016e77
|
@ -223,6 +223,11 @@ func (a *Ansi) initEscapeSequences(shellName string) {
|
|||
{text: `\r`, replacement: `\\r`},
|
||||
{text: `\t`, replacement: `\\t`},
|
||||
{text: `\v`, replacement: `\\v`},
|
||||
{text: `\c`, replacement: `\\c`},
|
||||
{text: `\x`, replacement: `\\x`},
|
||||
{text: `\X`, replacement: `\\X`},
|
||||
{text: `\0`, replacement: `\\0`},
|
||||
{text: `\U`, replacement: `\\U`},
|
||||
}
|
||||
default:
|
||||
a.reservedSequences = []sequenceReplacement{
|
||||
|
|
Loading…
Reference in a new issue