|
|
@ -9,8 +9,10 @@ initializeANSI(){ |
|
|
|
|
|
|
|
nc='\033[0;' #nc normal color |
|
|
|
lc='\033[1;' #lc light color |
|
|
|
bc='\033[' #bc backcolor |
|
|
|
|
|
|
|
# normal |
|
|
|
bk_n=$nc'30m' #black |
|
|
|
r_n=$nc'31m' #red |
|
|
|
g_n=$nc'32m' #green |
|
|
|
y_n=$nc'33m' #yellow |
|
|
@ -20,6 +22,7 @@ c_n=$nc'36m' #cyan |
|
|
|
w_n=$nc'37m' #white |
|
|
|
|
|
|
|
#light |
|
|
|
bk_l=$nc'30m' #black |
|
|
|
r_l=$lc'31m' #red |
|
|
|
g_l=$lc'32m' #green |
|
|
|
y_l=$lc'33m' #yellow |
|
|
@ -28,6 +31,26 @@ p_l=$lc'35m' #pink |
|
|
|
c_l=$lc'36m' #cyan |
|
|
|
w_l=$lc'37m' #white |
|
|
|
|
|
|
|
# normal background |
|
|
|
bk_nb=$bc'40m' #black |
|
|
|
r_nb=$bc'41m' #red |
|
|
|
g_nb=$bc'42m' #green |
|
|
|
y_nb=$bc'43m' #yellow |
|
|
|
b_nb=$bc'44m' #blue |
|
|
|
p_nb=$bc'45m' #pink |
|
|
|
c_nb=$bc'46m' #cyan |
|
|
|
w_nb=$bc'107m' #white |
|
|
|
|
|
|
|
# light background |
|
|
|
dg_lb=$bc'100m' #dark gray |
|
|
|
r_lb=$bc'101m' #light red |
|
|
|
g_lb=$bc'102m' #light green |
|
|
|
y_lb=$bc'103m' #light yellow |
|
|
|
b_lb=$bc'104m' #light blue |
|
|
|
p_lb=$bc'105m' #light pink |
|
|
|
c_lb=$bc'106m' #light cyan |
|
|
|
lg_lb=$bc'47m' #light gray |
|
|
|
|
|
|
|
#reset to normal |
|
|
|
re_='\033[0m' #resets all colors |
|
|
|
re_f='\033[39m' #resets only foreground color |
|
|
|