From: Christian Hesse <mail@eworm.de> This is not handled correctly in some situations. For me (with pacman inside tmux inside xfce4-terminal with TERM=xterm) I do not see version strings but huge gaps between package names. Looks like grey46 is round to just back, which is my background color. Instead use bright black, which is one of the 16 colors and *should* be visible with any configuration. Works for me[tm] and all configurations I tested. Signed-off-by: Christian Hesse <mail@eworm.de> --- src/pacman/conf.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/pacman/conf.c b/src/pacman/conf.c index 12fee64c..afbd677f 100644 --- a/src/pacman/conf.c +++ b/src/pacman/conf.c @@ -55,6 +55,8 @@ config_t *config = NULL; #define CYAN "\033[0;36m" #define WHITE "\033[0;37m" +#define BRIGHTBLACK "\033[0;30;1m" + #define BOLDBLACK "\033[1;30m" #define BOLDRED "\033[1;31m" #define BOLDGREEN "\033[1;32m" @@ -63,7 +65,6 @@ config_t *config = NULL; #define BOLDMAGENTA "\033[1;35m" #define BOLDCYAN "\033[1;36m" #define BOLDWHITE "\033[1;37m" -#define GREY46 "\033[38;5;243m" void enable_colors(int colors) { @@ -78,7 +79,7 @@ void enable_colors(int colors) colstr->meta = BOLDCYAN; colstr->warn = BOLDYELLOW; colstr->err = BOLDRED; - colstr->faint = GREY46; + colstr->faint = BRIGHTBLACK; colstr->nocolor = NOCOLOR; } else { colstr->colon = ":: ";