Add dim color to printing helper
This commit is contained in:
parent
7a9749c26f
commit
c91040286b
|
@ -11,6 +11,7 @@ if [ -t 1 ] && [ -n "$ncolors" ] && [ "$ncolors" -ge 8 ]; then
|
||||||
MAGENTA="$(tput setaf 5)"
|
MAGENTA="$(tput setaf 5)"
|
||||||
CYAN="$(tput setaf 6)"
|
CYAN="$(tput setaf 6)"
|
||||||
BOLD="$(tput bold)"
|
BOLD="$(tput bold)"
|
||||||
|
DIM="\e[2m"
|
||||||
NORMAL="$(tput sgr0)"
|
NORMAL="$(tput sgr0)"
|
||||||
else
|
else
|
||||||
RED=""
|
RED=""
|
||||||
|
|
|
@ -11,6 +11,7 @@ if [ -t 1 ] && [ -n "$ncolors" ] && [ "$ncolors" -ge 8 ]; then
|
||||||
MAGENTA="$(tput setaf 5)"
|
MAGENTA="$(tput setaf 5)"
|
||||||
CYAN="$(tput setaf 6)"
|
CYAN="$(tput setaf 6)"
|
||||||
BOLD="$(tput bold)"
|
BOLD="$(tput bold)"
|
||||||
|
DIM="\e[2m"
|
||||||
NORMAL="$(tput sgr0)"
|
NORMAL="$(tput sgr0)"
|
||||||
else
|
else
|
||||||
RED=""
|
RED=""
|
||||||
|
|
Loading…
Reference in New Issue
Block a user