mirror of
https://github.com/erg-lang/erg.git
synced 2025-08-04 10:49:54 +00:00
feat: add \x
string literal
This commit is contained in:
parent
edfabd97e7
commit
21283b668e
2 changed files with 27 additions and 0 deletions
12
crates/erg_compiler/lib/std/ansicolor.er
Normal file
12
crates/erg_compiler/lib/std/ansicolor.er
Normal file
|
@ -0,0 +1,12 @@
|
|||
.RED = "\x1b[91m"
|
||||
.GREEN = "\x1b[92m"
|
||||
.YELLOW = "\x1b[93m"
|
||||
.BLUE = "\x1b[94m"
|
||||
.MAGENTA = "\x1b[95m"
|
||||
.CYAN = "\x1b[96m"
|
||||
.WHITE = "\x1b[97m"
|
||||
.BOLD = "\x1b[1m"
|
||||
.UNDERLINE = "\x1b[4m"
|
||||
.REVERSED = "\x1b[7m"
|
||||
.ATTR_RESET = "\x1b[0m"
|
||||
.RESET = "\x1b[m"
|
Loading…
Add table
Add a link
Reference in a new issue