File tree Expand file tree Collapse file tree 1 file changed +24
-28
lines changed
Expand file tree Collapse file tree 1 file changed +24
-28
lines changed Original file line number Diff line number Diff line change @@ -6,34 +6,30 @@ source $SCRIPT_DIR/../src/tint
66ESC=' '
77RESET=" ${ESC} (B${ESC} [m"
88
9- BOLD=" 1"
10- DIM=" 2"
11- UNDERLINE=" 4"
12- BLINK=" 5"
13- INVERT=" 7"
14- HIDDEN=" 8"
15-
16- BLACK=" 30"
17- RED=" 31"
18- GREEN=" 32"
19- YELLOW=" 33"
20- BLUE=" 34"
21- MAGENTA=" 35"
22- CYAN=" 36"
23- LIGHT_GRAY=" 37"
24- WHITE=" 97"
25-
26- BLACK_BG=" 40"
27- RED_BG=" 41"
28- GREEN_BG=" 42"
29- YELLOW_BG=" 43"
30- BLUE_BG=" 44"
31- MAGENTA_BG=" 45"
32- CYAN_BG=" 46"
33- LIGHT_GRAY_BG=" 47"
34- RESET_BG=" 49"
35- GRAY_BG=" 100"
36- WHITE_BG=" 107"
9+ BOLD=" $( tput bold) "
10+ DIM=" $( tput dim) "
11+ UNDERLINE=" $( tput smul) "
12+ BLINK=" $( tput blink) "
13+ INVERT=" $( tput rev) "
14+ HIDDEN=" $( tput invis) "
15+
16+ BLACK=" $( tput setaf 0) "
17+ RED=" $( tput setaf 1) "
18+ GREEN=" $( tput setaf 2) "
19+ YELLOW=" $( tput setaf 3) "
20+ BLUE=" $( tput setaf 4) "
21+ MAGENTA=" $( tput setaf 5) "
22+ CYAN=" $( tput setaf 6) "
23+ WHITE=" $( tput setaf 7) "
24+
25+ BLACK_BG=" $( tput setab 0) "
26+ RED_BG=" $( tput setab 1) "
27+ GREEN_BG=" $( tput setab 2) "
28+ YELLOW_BG=" $( tput setab 3) "
29+ BLUE_BG=" $( tput setab 4) "
30+ MAGENTA_BG=" $( tput setab 5) "
31+ CYAN_BG=" $( tput setab 6) "
32+ WHITE_BG=" $( tput setab 7) "
3733
3834control_sequence () {
3935 while test $# -gt 0
You can’t perform that action at this time.
0 commit comments