summaryrefslogtreecommitdiff
path: root/shared/ansi-colors.h
diff options
context:
space:
mode:
authorDavid Härdeman <david@hardeman.nu>2020-07-01 17:28:09 +0200
committerDavid Härdeman <david@hardeman.nu>2020-07-01 17:28:09 +0200
commite045a7b80cc0cb96b79456f9c74c3705989a12df (patch)
tree00532a51671d2835217997dfdb204ba863fb0a1e /shared/ansi-colors.h
parent829ea0768672dad977ddeb30dd5e2b254bb4a4e9 (diff)
Turn colors into global variables
Diffstat (limited to 'shared/ansi-colors.h')
-rw-r--r--shared/ansi-colors.h8
1 files changed, 8 insertions, 0 deletions
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"