mirror of
https://github.com/moparisthebest/pacman
synced 2024-12-22 07:48:50 -05:00
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>
This commit is contained in:
parent
a6291858cc
commit
d5c0f39144
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user