From 0d7fd8f76a94d47d8a9be953bb9f0f6e0183a5c6 Mon Sep 17 00:00:00 2001 From: Lucas Date: Tue, 24 Oct 2023 19:44:47 +0000 Subject: [PATCH] termcolors: adapt to latest tset and fix output --- utils/scripts/termcolors.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/utils/scripts/termcolors.sh b/utils/scripts/termcolors.sh index c0eb775..1d50450 100644 --- a/utils/scripts/termcolors.sh +++ b/utils/scripts/termcolors.sh @@ -12,18 +12,18 @@ printf " fg on bg " for i in 0 1 2 3 4 5 6 7; do - tput setab $i 0 0 + tput setab $i printf " " done -printf "\n" tput sgr0 +printf "\n" tput rev printf " bg on fg " tput sgr0 for i in 0 1 2 3 4 5 6 7; do - tput setab $((i + 8)) 0 0 + tput setab $((i + 8)) printf " " done -printf "\n" tput sgr0 +printf "\n"