From e045a7b80cc0cb96b79456f9c74c3705989a12df Mon Sep 17 00:00:00 2001 From: David Härdeman Date: Wed, 1 Jul 2020 17:28:09 +0200 Subject: Turn colors into global variables --- shared/ansi-colors.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'shared/ansi-colors.h') diff --git a/shared/ansi-colors.h b/shared/ansi-colors.h index 8294f2d..6e07e1e 100644 --- a/shared/ansi-colors.h +++ b/shared/ansi-colors.h @@ -1,6 +1,14 @@ #ifndef fooansicolorshfoo #define fooansicolorshfoo +extern const char *ansi_red; +extern const char *ansi_green; +extern const char *ansi_yellow; +extern const char *ansi_blue; +extern const char *ansi_magenta; +extern const char *ansi_grey; +extern const char *ansi_normal; + #define ANSI_RED "\x1B[0;31m" #define ANSI_GREEN "\x1B[0;32m" #define ANSI_YELLOW "\x1B[0;33m" -- cgit v1.2.3