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) NUMBER_OF_COLORS=$($TPUT_BIN colors)
COLORED_OUTPUT=0 COLORED_OUTPUT=0
RED="\\033[1;31m" RED="$(tput bold)$(tput setaf 1)"
GREEN="\\033[1;32m" GREEN="$(tput bold)$(tput setaf 2)"
YELLOW="\\033[1;33m" YELLOW="$(tput bold)$(tput setaf 3)"
BLUE="\\033[1;34m" BLUE="$(tput bold)$(tput setaf 4)"
NORMAL="\\033[0;39m" NORMAL="$(tput bold)$(tput sgr0)"
# Diverse Checks # Diverse Checks