Fix color none not working for outColor()

This commit is contained in:
2022-02-10 11:41:33 +01:00
parent 9a20a2d374
commit 15ced9d2dc

View File

@@ -298,6 +298,9 @@ outColor() {
tput setaf 7;; tput setaf 7;;
*) *)
tput setaf $1;; tput setaf $1;;
none)
tput sgr0
return 0;;
esac esac
case "$2" in case "$2" in