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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
#[allow(non_upper_case_globals)]
pub const style_bold: &str = "\x1B[1m";
// #[allow(non_upper_case_globals)]
// pub const style_un_bold: &str = "\x1B[21m";
#[allow(non_upper_case_globals)]
pub const style_underline: &str = "\x1B[4m";
// #[allow(non_upper_case_globals)]
// pub const style_un_underline: &str = "\x1B[24m";
#[allow(non_upper_case_globals)]
pub const style_reset: &str = "\x1B[0m";

#[allow(non_upper_case_globals)]
pub const color_black: &str = "\x1B[30m";
#[allow(non_upper_case_globals)]
pub const color_red: &str = "\x1B[31m";
#[allow(non_upper_case_globals)]
pub const color_green: &str = "\x1B[32m";
#[allow(non_upper_case_globals)]
pub const color_yellow: &str = "\x1B[33m";
#[allow(non_upper_case_globals)]
pub const color_blue: &str = "\x1B[34m";
#[allow(non_upper_case_globals)]
pub const color_magenta: &str = "\x1B[35m";
#[allow(non_upper_case_globals)]
pub const color_cyan: &str = "\x1B[36m";
#[allow(non_upper_case_globals)]
pub const color_white: &str = "\x1B[37m";
#[allow(non_upper_case_globals)]
pub const color_bright_black: &str = "\x1B[90m";
#[allow(non_upper_case_globals)]
pub const color_bright_red: &str = "\x1B[91m";
#[allow(non_upper_case_globals)]
pub const color_bright_green: &str = "\x1B[92m";
#[allow(non_upper_case_globals)]
pub const color_bright_yellow: &str = "\x1B[93m";
#[allow(non_upper_case_globals)]
pub const color_bright_blue: &str = "\x1B[94m";
#[allow(non_upper_case_globals)]
pub const color_bright_magenta: &str = "\x1B[95m";
#[allow(non_upper_case_globals)]
pub const color_bright_cyan: &str = "\x1B[96m";
#[allow(non_upper_case_globals)]
pub const color_bright_white: &str = "\x1B[97m";
#[allow(non_upper_case_globals)]
pub const color_reset: &str = "\x1B[39m";

#[allow(non_upper_case_globals)]
pub const bg_black: &str = "\x1B[40m";
#[allow(non_upper_case_globals)]
pub const bg_red: &str = "\x1B[41m";
#[allow(non_upper_case_globals)]
pub const bg_green: &str = "\x1B[42m";
#[allow(non_upper_case_globals)]
pub const bg_yellow: &str = "\x1B[43m";
#[allow(non_upper_case_globals)]
pub const bg_blue: &str = "\x1B[44m";
#[allow(non_upper_case_globals)]
pub const bg_magenta: &str = "\x1B[45m";
#[allow(non_upper_case_globals)]
pub const bg_cyan: &str = "\x1B[46m";
#[allow(non_upper_case_globals)]
pub const bg_white: &str = "\x1B[47m";
#[allow(non_upper_case_globals)]
pub const bg_bright_black: &str = "\x1B[100m";
#[allow(non_upper_case_globals)]
pub const bg_bright_red: &str = "\x1B[101m";
#[allow(non_upper_case_globals)]
pub const bg_bright_green: &str = "\x1B[102m";
#[allow(non_upper_case_globals)]
pub const bg_bright_yellow: &str = "\x1B[103m";
#[allow(non_upper_case_globals)]
pub const bg_bright_blue: &str = "\x1B[104m";
#[allow(non_upper_case_globals)]
pub const bg_bright_magenta: &str = "\x1B[105m";
#[allow(non_upper_case_globals)]
pub const bg_bright_cyan: &str = "\x1B[106m";
#[allow(non_upper_case_globals)]
pub const bg_bright_white: &str = "\x1B[107m";
#[allow(non_upper_case_globals)]
pub const bg_reset: &str = "\x1B[49m";