Commit 671edc33 authored by neilpang's avatar neilpang
Browse files

fix background color

parent 2a287723
...@@ -153,7 +153,7 @@ fi ...@@ -153,7 +153,7 @@ fi
__green() { __green() {
if [ "${__INTERACTIVE}${ACME_NO_COLOR:-0}" = "10" -o "${ACME_FORCE_COLOR}" = "1" ]; then if [ "${__INTERACTIVE}${ACME_NO_COLOR:-0}" = "10" -o "${ACME_FORCE_COLOR}" = "1" ]; then
printf '\033[1;31;32m%b\033[0m' "$1" printf '\33[1;32m%b\33[0m' "$1"
return return
fi fi
printf -- "%b" "$1" printf -- "%b" "$1"
...@@ -161,7 +161,7 @@ __green() { ...@@ -161,7 +161,7 @@ __green() {
__red() { __red() {
if [ "${__INTERACTIVE}${ACME_NO_COLOR:-0}" = "10" -o "${ACME_FORCE_COLOR}" = "1" ]; then if [ "${__INTERACTIVE}${ACME_NO_COLOR:-0}" = "10" -o "${ACME_FORCE_COLOR}" = "1" ]; then
printf '\033[1;31;40m%b\033[0m' "$1" printf '\33[1;31m%b\33[0m' "$1"
return return
fi fi
printf -- "%b" "$1" printf -- "%b" "$1"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment