From 157c79d53c4d04f6c6af1103a2db3a652b240edb Mon Sep 17 00:00:00 2001 From: Aryadev Chavali Date: Sun, 29 Oct 2023 16:58:58 +0000 Subject: Added a "usage" message and colours for assembler Prints useful and pretty messages when verbose being at least 1. --- lib/base.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'lib/base.h') diff --git a/lib/base.h b/lib/base.h index 172abff..537792f 100644 --- a/lib/base.h +++ b/lib/base.h @@ -18,6 +18,10 @@ #define ARR_SIZE(xs) (sizeof(xs) / sizeof(xs[0])) #define MAX(a, b) ((a) > (b) ? (a) : (b)) #define MIN(a, b) ((a) > (b) ? (b) : (a)) +#define TERM_GREEN "\e[0;32m" +#define TERM_YELLOW "\e[0;33m" +#define TERM_RED "\e[0;31m" +#define TERM_RESET "\e[0;0m" // Flags #ifndef VERBOSE -- cgit v1.2.3-13-gbd6f