From a9009769de43b7f29d05017f4219e18c1e42a273 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Fri, 17 May 2019 14:51:42 +0200 Subject: [PATCH] terminal-util: define yellow as "Khaki3" Previously used "highlight yellow" was not visible on urxvt, because it was too light. This color is shown as bold black by urxvt, but at least it is readable. On other terminals it is shown as various hues of yellow, pleasant on the eyes and not too bright. The color shown on linux console could be called orange rather than yellow, but it is still readable. (I also tried non-highlight "yellow", but it is not as readable.) This is a follow-up for bb40c12569d017f75774ff9f4b6fb0ac64f9eee0. --- src/basic/terminal-util.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/basic/terminal-util.h b/src/basic/terminal-util.h index ae9cda403b8..90adc14d176 100644 --- a/src/basic/terminal-util.h +++ b/src/basic/terminal-util.h @@ -21,7 +21,7 @@ /* Bold/highlighted */ #define ANSI_HIGHLIGHT_RED "\x1B[0;1;31m" #define ANSI_HIGHLIGHT_GREEN "\x1B[0;1;32m" -#define ANSI_HIGHLIGHT_YELLOW "\x1B[0;1;33m" +#define ANSI_HIGHLIGHT_YELLOW "\x1B[0;1;38;5;185m" #define ANSI_HIGHLIGHT_BLUE "\x1B[0;1;34m" #define ANSI_HIGHLIGHT_MAGENTA "\x1B[0;1;35m" #define ANSI_HIGHLIGHT_GREY "\x1B[0;1;38;5;245m"