Resolve #918 Transparent background

Now function getColorCode consider value 'none' like a good value.
When it's use to set background the segment become transparent
pull/22/head
Ythildir 7 years ago
parent 22a761208d
commit e39e024e74

@ -79,6 +79,10 @@ function getColorCode() {
else
echo -n "$1"
fi
# Check if value is none with any case.
elif [[ $1 = [nN][oO][nN][eE] ]]
then
echo -n 'none'
else
typeset -A codes
# https://jonasjacek.github.io/colors/

Loading…
Cancel
Save