summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimo Leone <simo@archlinux.org>2007-12-20 01:30:59 -0600
committerAaron Griffin <aaronmgriffin@gmail.com>2007-12-20 01:30:59 -0600
commita4a35bda6ef3fd3e444e90ab362369f0b1f511dc (patch)
tree9c659916be560eff730378c7f417c450adeb7a35
parent5ccb8edb591213e03fc3909aa7db7242b9f54b30 (diff)
Make the background black on all status text
This is the easiest way to cleanup the script output on white terminals without resorting to shutting off color. It won't make everyone happy, though. Ref: FS#1186 Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
-rw-r--r--functions18
1 files changed, 9 insertions, 9 deletions
diff --git a/functions b/functions
index 2220835..b55e507 100644
--- a/functions
+++ b/functions
@@ -39,17 +39,17 @@ unset TERM_COLORS
# colors:
if [ "$USECOLOR" = "YES" -o "$USECOLOR" = "yes" ]; then
- C_MAIN="\033[1;37m" # main text
- C_OTHER="\033[1;34m" # prefix & brackets
- C_SEPARATOR="\033[1;30m" # separator
+ C_MAIN="\033[1;37;40m" # main text
+ C_OTHER="\033[1;34;40m" # prefix & brackets
+ C_SEPARATOR="\033[1;30;40m" # separator
- C_BUSY="\033[0;36m" # busy
- C_FAIL="\033[1;31m" # failed
- C_DONE="\033[1;37m" # completed
- C_BKGD="\033[1;35m" # backgrounded
+ C_BUSY="\033[0;36;40m" # busy
+ C_FAIL="\033[1;31;40m" # failed
+ C_DONE="\033[1;37;40m" # completed
+ C_BKGD="\033[1;35;40m" # backgrounded
- C_H1="\033[1;37m" # highlight text 1
- C_H2="\033[1;36m" # highlight text 2
+ C_H1="\033[1;37;40m" # highlight text 1
+ C_H2="\033[1;36;40m" # highlight text 2
C_CLEAR="\033[1;0m"
fi