summaryrefslogtreecommitdiff
path: root/escape.ansi.h
diff options
context:
space:
mode:
authorjstmaxlol <maxwasmailed@proton.me>2025-05-22 18:59:17 +0200
committerjstmaxlol <maxwasmailed@proton.me>2025-05-22 18:59:17 +0200
commitfc505317a21a786973add4b2c5f654e2459fd0fa (patch)
tree3dffde31ae864fe31cb5c6e3f0b97ab81f2a421c /escape.ansi.h
parent42c94ca648375e467428e5e61306ce3235606b73 (diff)
xsc3 now off for da public i guess
now xsc supports mathematical expressions! and has been fully rewritten (sacrificing my sanity!)
Diffstat (limited to 'escape.ansi.h')
-rw-r--r--escape.ansi.h25
1 files changed, 25 insertions, 0 deletions
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 <string>
+
+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 <iostream>
+#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
+*/