fix(display): use text-mode compatible colors

in text-mode 80-cols TERM=linux terminals, colors
were not displaying properly, one had to use
--no-color to be able to read some parts of the
This commit is contained in:
Stéphane Lesimple 2018-01-21 12:32:22 +01:00
parent 263ef65fec
commit b3b7f634e6
1 changed files with 4 additions and 4 deletions

View File

@ -406,10 +406,10 @@ pstatus()
_info_nol "$2"
case "$1" in
red) col="\033[101m\033[30m";;
green) col="\033[102m\033[30m";;
yellow) col="\033[103m\033[30m";;
blue) col="\033[104m\033[30m";;
red) col="\033[41m\033[30m";;
green) col="\033[42m\033[30m";;
yellow) col="\033[43m\033[30m";;
blue) col="\033[44m\033[30m";;
*) col="";;
_info_nol "$col $2 \033[0m"