diff options
author | Andrew Gregory <andrew.gregory.8@gmail.com> | 2013-03-29 23:48:52 +0100 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2013-03-30 00:06:12 +0100 |
commit | d5c0f391449078f02694c10abd4d08a09fa88b04 (patch) | |
tree | a855bdda09150f86e0046a7e8f10fc1e35aed8ee /src | |
parent | a6291858cc1570e56204c4a1e7a68f76c4853336 (diff) | |
download | pacman-d5c0f391449078f02694c10abd4d08a09fa88b04.tar.gz pacman-d5c0f391449078f02694c10abd4d08a09fa88b04.tar.xz |
use default foreground color instead of white
Using white made important text invisible on terminals with white
backgrounds.
Signed-off-by: Andrew Gregory <andrew.gregory.8@gmail.com>
Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'src')
-rw-r--r-- | src/pacman/conf.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/pacman/conf.c b/src/pacman/conf.c index 3f1b1c39..2ea49cc3 100644 --- a/src/pacman/conf.c +++ b/src/pacman/conf.c @@ -42,6 +42,8 @@ config_t *config = NULL; #define NOCOLOR "\033[0m" +#define BOLD "\033[0;1m" + #define BLACK "\033[0;30m" #define RED "\033[0;31m" #define GREEN "\033[0;32m" @@ -65,8 +67,8 @@ void enable_colors(int colors) colstr_t *colstr = &config->colstr; if(colors == PM_COLOR_ON) { - colstr->colon = BOLDBLUE "::" BOLDWHITE " "; - colstr->title = BOLDWHITE; + colstr->colon = BOLDBLUE "::" BOLD " "; + colstr->title = BOLD; colstr->repo = BOLDMAGENTA; colstr->version = BOLDGREEN; colstr->groups = BOLDBLUE; |