diff options
author | Lennart Poettering <lennart@poettering.net> | 2020-04-08 19:43:44 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2020-04-08 19:43:44 +0200 |
commit | a851ba0795040b465a5883af6683e495820c2099 (patch) | |
tree | c68f27e80a892cc31f035a6a58ee01f2272daad2 /src/basic/terminal-util.h | |
parent | 8ff8ce62845e708186077d11eba83adae7b02e61 (diff) | |
download | systemd-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.h | 2 |
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" |