summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAndrew Gregory <andrew.gregory.8@gmail.com>2013-03-29 18:48:52 -0400
committerAllan McRae <allan@archlinux.org>2013-03-30 09:06:12 +1000
commitd5c0f391449078f02694c10abd4d08a09fa88b04 (patch)
treea855bdda09150f86e0046a7e8f10fc1e35aed8ee /src
parenta6291858cc1570e56204c4a1e7a68f76c4853336 (diff)
downloadpacman-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.c6
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;