diff options
Diffstat (limited to 'util/colored_text.c')
-rw-r--r-- | util/colored_text.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/util/colored_text.c b/util/colored_text.c new file mode 100644 index 0000000..836f357 --- /dev/null +++ b/util/colored_text.c @@ -0,0 +1,10 @@ + +#define USE_COLORED_TEXT 1 + +#if USE_COLORED_TEXT +#define TEXT_ERROR(x) "\x1b[91m" x "\x1b[0m" +#define TEXT_IMPORTANT(x) "\x1b[1m" x "\x1b[0m" +#else +#define TEXT_ERROR(x) x +#define TEXT_IMPORTANT(x) x +#endif |