From: Lennart Poettering Date: Wed, 8 Apr 2020 17:43:44 +0000 (+0200) Subject: terminal-util: fixate underlined yellow color too X-Git-Tag: v246-rc1~631^2~1 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a851ba0795040b465a5883af6683e495820c2099;p=thirdparty%2Fsystemd.git 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. --- diff --git a/src/basic/terminal-util.h b/src/basic/terminal-util.h index efc22b15917..c7570c7a617 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"