tput statt Color codes

This commit is contained in:
qbi 2021-05-03 22:44:03 +02:00
parent 710a452577
commit 16d27ace1b

View file

@ -58,11 +58,11 @@ LFDNR=""
NUMBER_OF_COLORS=$($TPUT_BIN colors)
COLORED_OUTPUT=0
RED="\\033[1;31m"
GREEN="\\033[1;32m"
YELLOW="\\033[1;33m"
BLUE="\\033[1;34m"
NORMAL="\\033[0;39m"
RED="$(tput bold)$(tput setaf 1)"
GREEN="$(tput bold)$(tput setaf 2)"
YELLOW="$(tput bold)$(tput setaf 3)"
BLUE="$(tput bold)$(tput setaf 4)"
NORMAL="$(tput bold)$(tput sgr0)"
# Diverse Checks