Make colours work now focus has been disabled

This commit is contained in:
Jonathan Hodgson 2021-03-21 14:54:10 +00:00
parent 49c7a32c7f
commit f555ccd352

View file

@ -306,7 +306,7 @@ function backgroundColor() {
function foregroundColor() {
echo -n "%F{$(getColor $1)}"
}
HASFOCUS="true"
function focusBackgroundColor() {
if [ "$HASFOCUS" = "true" ]; then
backgroundColor "$@"