From 3594d15c5c6ec6d77932c57527e4bd79e848eb5c Mon Sep 17 00:00:00 2001 From: Price Hiller Date: Fri, 15 Sep 2023 17:09:57 -0500 Subject: [PATCH] refactor: always make templater print with color --- Misc/Templater.bash | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/Misc/Templater.bash b/Misc/Templater.bash index c917ad9..b851d04 100755 --- a/Misc/Templater.bash +++ b/Misc/Templater.bash @@ -31,11 +31,7 @@ echo_rgb() { green="${3}" blue="${4}" - if [ -t 1 ]; then - printf "\e[0;38;2;%s;%s;%sm%s\e[m\n" "${red}" "${green}" "${blue}" "${input}" - else - printf "%s\n" "${input}" - fi + printf "\e[0;38;2;%s;%s;%sm%s\e[m\n" "${red}" "${green}" "${blue}" "${input}" } log() {