diff --git a/lib/ui.sh b/lib/ui.sh index f0cd6e4..50de6ed 100644 --- a/lib/ui.sh +++ b/lib/ui.sh @@ -17,7 +17,7 @@ TXT_YELLOW= TXT_BLUE= TXT_PURPLE= BACK_BLUE= -if tput longname >/dev/null; then +if tput longname >/dev/null 2>&1; then TXT_NORM=$(tput sgr0) TXT_BOLD=$(tput bold) TXT_RED=$(tput setaf 1)