summaryrefslogtreecommitdiff
path: root/src/basic/terminal-util.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2020-04-08 19:43:44 +0200
committerLennart Poettering <lennart@poettering.net>2020-04-08 19:43:44 +0200
commita851ba0795040b465a5883af6683e495820c2099 (patch)
treec68f27e80a892cc31f035a6a58ee01f2272daad2 /src/basic/terminal-util.h
parent8ff8ce62845e708186077d11eba83adae7b02e61 (diff)
downloadsystemd-a851ba0795040b465a5883af6683e495820c2099.tar.gz
terminal-util: fixate underlined yellow color too
non-underlined yellow uses RGB ANSI sequences while the underlined version uses the paletted ANSI sequences. Let's unify that and use the RGB sequence for both cases, so that underlined or not doesn't alter the color.
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 efc22b1591..c7570c7a61 100644
--- a/src/basic/terminal-util.h
+++ b/src/basic/terminal-util.h
@@ -30,7 +30,7 @@
/* Underlined */
#define ANSI_HIGHLIGHT_RED_UNDERLINE "\x1B[0;1;4;31m"
#define ANSI_HIGHLIGHT_GREEN_UNDERLINE "\x1B[0;1;4;32m"
-#define ANSI_HIGHLIGHT_YELLOW_UNDERLINE "\x1B[0;1;4;33m"
+#define ANSI_HIGHLIGHT_YELLOW_UNDERLINE "\x1B[0;1;4;38;5;185m"
#define ANSI_HIGHLIGHT_BLUE_UNDERLINE "\x1B[0;1;4;34m"
#define ANSI_HIGHLIGHT_MAGENTA_UNDERLINE "\x1B[0;1;4;35m"
#define ANSI_HIGHLIGHT_GREY_UNDERLINE "\x1B[0;1;4;38;5;245m"