-
Notifications
You must be signed in to change notification settings - Fork 2
/
colorama.go
42 lines (39 loc) · 928 Bytes
/
colorama.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
package main
var Fore = map[string]string{
"RESET": "\x1b[39m",
"BLACK": "\x1b[30m",
"BLUE": "\x1b[34m",
"CYAN": "\x1b[36m",
"GREEN": "\x1b[32m",
"MAGENTA": "\x1b[35m",
"RED": "\x1b[31m",
"WHITE": "\x1b[37m",
"YELLOW": "\x1b[33m",
"LIGHT_BLACK": "\x1b[90m",
"LIGHT_BLUE": "\x1b[94m",
"LIGHT_CYAN": "\x1b[96m",
"LIGHT_GREEN": "\x1b[92m",
"LIGHT_MAGENTA": "\x1b[95m",
"LIGHT_RED": "\x1b[91m",
"LIGHT_WHITE": "\x1b[97m",
"LIGHT_YELLOW": "\x1b[93m",
}
var Back = map[string]string{
"RESET": "\x1b[49m",
"BLACK": "\x1b[40m",
"BLUE": "\x1b[44m",
"CYAN": "\x1b[46m",
"GREEN": "\x1b[42m",
"MAGENTA": "\x1b[45m",
"RED": "\x1b[41m",
"WHITE": "\x1b[47m",
"YELLOW": "\x1b[43m",
"LIGHT_BLACK": "\x1b[100m",
"LIGHT_BLUE": "\x1b[104m",
"LIGHT_CYAN": "\x1b[106m",
"LIGHT_GREEN": "\x1b[102m",
"LIGHT_MAGENTA": "\x1b[105m",
"LIGHT_RED": "\x1b[101m",
"LIGHT_WHITE": "\x1b[107m",
"LIGHT_YELLOW": "\x1b[103m",
}