mirror of
https://github.com/moparisthebest/pacman
synced 2024-12-22 15:58: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 NOCOLOR "\033[0m"
|
||||||
|
|
||||||
|
#define BOLD "\033[0;1m"
|
||||||
|
|
||||||
#define BLACK "\033[0;30m"
|
#define BLACK "\033[0;30m"
|
||||||
#define RED "\033[0;31m"
|
#define RED "\033[0;31m"
|
||||||
#define GREEN "\033[0;32m"
|
#define GREEN "\033[0;32m"
|
||||||
@ -65,8 +67,8 @@ void enable_colors(int colors)
|
|||||||
colstr_t *colstr = &config->colstr;
|
colstr_t *colstr = &config->colstr;
|
||||||
|
|
||||||
if(colors == PM_COLOR_ON) {
|
if(colors == PM_COLOR_ON) {
|
||||||
colstr->colon = BOLDBLUE "::" BOLDWHITE " ";
|
colstr->colon = BOLDBLUE "::" BOLD " ";
|
||||||
colstr->title = BOLDWHITE;
|
colstr->title = BOLD;
|
||||||
colstr->repo = BOLDMAGENTA;
|
colstr->repo = BOLDMAGENTA;
|
||||||
colstr->version = BOLDGREEN;
|
colstr->version = BOLDGREEN;
|
||||||
colstr->groups = BOLDBLUE;
|
colstr->groups = BOLDBLUE;
|
||||||
|
Loading…
Reference in New Issue
Block a user