From 0678ef2b98076a779cfba18c06988d26ce7de824 Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Wed, 18 Jun 2025 13:14:35 +1000 Subject: [PATCH] util: add white to the ansi color escape codes Can't be used because it's near invisible on white backgrounds but have it for completeness. Part-of: --- src/util-macros.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/util-macros.h b/src/util-macros.h index 5e86c5b5..c4ada873 100644 --- a/src/util-macros.h +++ b/src/util-macros.h @@ -51,12 +51,14 @@ #define ANSI_BLUE "\x1B[0;34m" #define ANSI_MAGENTA "\x1B[0;35m" #define ANSI_CYAN "\x1B[0;36m" +#define ANSI_WHITE "\x1B[0;37m" #define ANSI_BRIGHT_RED "\x1B[0;31;1m" #define ANSI_BRIGHT_GREEN "\x1B[0;32;1m" #define ANSI_BRIGHT_YELLOW "\x1B[0;33;1m" #define ANSI_BRIGHT_BLUE "\x1B[0;34;1m" #define ANSI_BRIGHT_MAGENTA "\x1B[0;35;1m" #define ANSI_BRIGHT_CYAN "\x1B[0;36;1m" +#define ANSI_BRIGHT_WHITE "\x1B[0;37;1m" #define ANSI_NORMAL "\x1B[0m" #define ANSI_UP "\x1B[%dA"