From d5c0f391449078f02694c10abd4d08a09fa88b04 Mon Sep 17 00:00:00 2001 From: Andrew Gregory Date: Fri, 29 Mar 2013 18:48:52 -0400 Subject: use default foreground color instead of white Using white made important text invisible on terminals with white backgrounds. Signed-off-by: Andrew Gregory Signed-off-by: Allan McRae --- src/pacman/conf.c | 6 ++++-- 1 file 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; -- cgit v1.2.3-24-g4f1b