diff --git a/render.sh b/render.sh index 0ac2e30..7df8925 100644 --- a/render.sh +++ b/render.sh @@ -24,16 +24,16 @@ do then if [ $(echo "$widthi % 2" | bc) -eq 1 ] then - printf "$(tput setab 7) $text" + printf "$(tput setab 7)$(tput setaf 0) $text" else - printf "$(tput setab 0) $text" + printf "$(tput setab 0)$(tput setaf 7) $text" fi else if [ $(echo "$widthi % 2" | bc) -eq 0 ] then - printf "$(tput setab 7) $text" + printf "$(tput setab 7)$(tput setaf 0) $text" else - printf "$(tput setab 0) $text" + printf "$(tput setab 0)$(tput setaf 7) $text" fi fi done