mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2024-11-09 20:44:03 -08:00
fix(ansi): do not end reverse ANSI
this will break rendering but can help assume my theory
This commit is contained in:
parent
35823e5b78
commit
004994d695
|
@ -57,7 +57,7 @@ const (
|
|||
AnchorRegex = `^(?P<ANCHOR><(?P<FG>[^,>]+)?,?(?P<BG>[^>]+)?>)`
|
||||
colorise = "\x1b[%sm"
|
||||
transparent = "\x1b[0m\x1b[%s;49m\x1b[7m"
|
||||
transparentEnd = "\x1b[27m"
|
||||
transparentEnd = ""
|
||||
backgroundEnd = "\x1b[49m"
|
||||
|
||||
AnsiRegex = "[\u001B\u009B][[\\]()#;?]*(?:(?:(?:[a-zA-Z\\d]*(?:;[a-zA-Z\\d]*)*)?\u0007)|(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PRZcf-ntqry=><~]))"
|
||||
|
|
Loading…
Reference in a new issue