Extend ANSI module to support more colors and also background colors.

This commit is contained in:
Dominik Pantůček 2023-03-27 22:00:39 +02:00
parent 3e9b421f60
commit 1a35c65f1d
3 changed files with 68 additions and 5 deletions

View file

@ -60,6 +60,38 @@
(#:magenta . 35)
(#:cyan . 36)
(#:white . 37)
(#:grey . 37)
(#:brightblack . 90)
(#:darkgrey . 90)
(#:brightred . 91)
(#:brightgreen . 92)
(#:brightyellow . 93)
(#:brightblue . 94)
(#:brightmagenta . 95)
(#:pink . 95)
(#:brightcyan . 96)
(#:brightwhite . 97)
(#:bgblack . 40)
(#:bgred . 41)
(#:bggreen . 42)
(#:bgyellow . 43)
(#:bgblue . 44)
(#:bgmagenta . 45)
(#:bgcyan . 46)
(#:bgwhite . 47)
(#:bggrey . 47)
(#:bgbrightblack . 100)
(#:bgdarkgrey . 100)
(#:bgbrightred . 101)
(#:bgbrightgreen . 102)
(#:bgbrightyellow . 103)
(#:bgbrightblue . 104)
(#:bgbrightmagenta . 105)
(#:bgpink . 105)
(#:bgbrightcyan . 106)
(#:bgbrightwhite . 107)
(#:default . 0)
(#:bold . 1)))