From 5beff81b513ec9b92fd94c214fb538cb3ee4237d Mon Sep 17 00:00:00 2001 From: Sandor Semsey Date: Tue, 5 Mar 2024 13:01:52 +0100 Subject: [PATCH] lib/ui: make tput quiet --- lib/ui.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)