Use readable escape sequences (#17241)
This commit is contained in:
parent
a04c9d1f62
commit
507873be25
5 changed files with 68 additions and 68 deletions
|
|
@ -48,8 +48,8 @@ proc getTerminal(): PTerminal {.inline.} =
|
|||
result = gTerm
|
||||
|
||||
const
|
||||
fgPrefix = "\x1b[38;2;"
|
||||
bgPrefix = "\x1b[48;2;"
|
||||
fgPrefix = "\e[38;2;"
|
||||
bgPrefix = "\e[48;2;"
|
||||
ansiResetCode* = "\e[0m"
|
||||
stylePrefix = "\e["
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue