Skip to content

Commit

Permalink
Add default $_COLOR_ENABLED value in _tput().
Browse files Browse the repository at this point in the history
  • Loading branch information
xwmx committed Feb 6, 2022
1 parent 55f7f48 commit 193d972
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nb
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ _tput() {
return 0
;;
setaf|smul)
((_COLOR_ENABLED)) || return 0
((${_COLOR_ENABLED:-1})) || return 0
;;
esac

Expand Down

0 comments on commit 193d972

Please sign in to comment.