From fc505317a21a786973add4b2c5f654e2459fd0fa Mon Sep 17 00:00:00 2001 From: jstmaxlol Date: Thu, 22 May 2025 18:59:17 +0200 Subject: xsc3 now off for da public i guess now xsc supports mathematical expressions! and has been fully rewritten (sacrificing my sanity!) --- escape.ansi.h | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 escape.ansi.h (limited to 'escape.ansi.h') diff --git a/escape.ansi.h b/escape.ansi.h new file mode 100644 index 0000000..c008b56 --- /dev/null +++ b/escape.ansi.h @@ -0,0 +1,25 @@ +// escape.ansi.h (escape.ANSI.sux) +#pragma once + +#include + +const std::string black = "\033[30m"; +const std::string red = "\033[31m"; +const std::string green = "\033[32m"; +const std::string yellow = "\033[33m"; +const std::string blue = "\033[34m"; +const std::string magenta = "\033[35m"; +const std::string cyan = "\033[36m"; +const std::string white = "\033[37m"; +const std::string def = "\033[0m"; + +/* example syntax: +#include +#include "escape.ansi.h" + +int main() { + std::cout << red << "this text is red, crazy scheisse!"; +} + +-> this is stupid but if you know a better way idk just tell me or drop a PR i will probably just merge it +*/ -- cgit v1.3.1