If the title color is white then use foreground color

This commit is contained in:
Dylan 2016-03-29 19:48:25 +11:00
parent 864795da7d
commit 1fd6cd5b00

View file

@ -2328,6 +2328,7 @@ setcolors () {
# If the second color is white use the first for the subtitle
[ "$2" == 7 ] && subtitle_color="\033[0m\033[3${1}m"
[ "$1" == 7 ] && title_color="\033[0m"
else
title_color="\033[0m\033[3${colors[0]}m"
at_color="\033[0m\033[3${colors[1]}m"