From 4d0fcab10e91ad5962837f7dd428f5bca1c8c980 Mon Sep 17 00:00:00 2001 From: David Härdeman Date: Thu, 25 Jun 2020 17:01:24 +0200 Subject: Flesh out minecctl some more --- shared/ansi-colors.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 shared/ansi-colors.h (limited to 'shared/ansi-colors.h') diff --git a/shared/ansi-colors.h b/shared/ansi-colors.h new file mode 100644 index 0000000..ba89c46 --- /dev/null +++ b/shared/ansi-colors.h @@ -0,0 +1,12 @@ +#ifndef fooansicolorshfoo +#define fooansicolorshfoo + +#define ANSI_RED "\x1B[0;31m" +#define ANSI_GREEN "\x1B[0;32m" +#define ANSI_YELLOW "\x1B[0;33m" +#define ANSI_BLUE "\x1B[0;34m" +#define ANSI_MAGENTA "\x1B[0;35m" +#define ANSI_GREY "\x1B[0;38;5;245m" +#define ANSI_NORMAL "\x1B[0m" + +#endif -- cgit v1.2.3