summaryrefslogtreecommitdiff
path: root/src/basic/terminal-util.h
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2019-05-17 14:51:42 +0200
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2019-05-17 15:06:59 +0200
commita9009769de43b7f29d05017f4219e18c1e42a273 (patch)
treee6aa1e35bec40c38f2a8e757d737163169e16712 /src/basic/terminal-util.h
parent21f0c55a2c26f06b010056169a58fa15d4d7112e (diff)
downloadsystemd-a9009769de43b7f29d05017f4219e18c1e42a273.tar.gz
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.
Diffstat (limited to 'src/basic/terminal-util.h')
-rw-r--r--src/basic/terminal-util.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/basic/terminal-util.h b/src/basic/terminal-util.h
index ae9cda403b..90adc14d17 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"