From 06ec88f374fd51e233db7c99a99f0c7c906f688e Mon Sep 17 00:00:00 2001 From: wullie <1+wullie@noreply.localhost> Date: Tue, 11 Aug 2026 21:09:44 +0000 Subject: [PATCH] Upload files to "include/stdWullie/String" --- include/stdWullie/String/colours.h | 33 ++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 include/stdWullie/String/colours.h diff --git a/include/stdWullie/String/colours.h b/include/stdWullie/String/colours.h new file mode 100644 index 0000000..3ad971b --- /dev/null +++ b/include/stdWullie/String/colours.h @@ -0,0 +1,33 @@ +// this code is licenced under Wrathmark licence +// © 2026 wullie wulliestudio.com +// please see attached licence for full usage and rights + +#ifndef STRCOLOUR_h +#define STRCOLOUR_h + +// ANSI colours + +// Normal value not white as normal could be something else on other systems +#define NORMAL "\x1b[m" + + +// foreground +#define BLACK "\x1b[30m" +#define RED "\x1b[31m" +#define GREEN "\x1b[32m" +#define YELLOW "\x1b[33m" +#define BLUE "\x1b[34m" +#define MAGENTA "\x1b[35m" +#define CYAN "\x1b[36m" +#define WHITE "\x1b[37m" + +// background +#define BBLACK "\x1b[40m" +#define BRED "\x1b[41m" +#define BGREEN "\x1b[42m" +#define BYELLOW "\x1b[43m" +#define BBLUE "\x1b[44m" +#define BMAGENTA "\x1b[45m" +#define BCYAN "\x1b[46m" +#define BWHITE "\x1b[47m" +#endif