From c86c8cda6c5462ceb6b2f27ec8aca9af7799c66d Mon Sep 17 00:00:00 2001 From: jStmaX! Date: Thu, 9 Oct 2025 16:18:55 +0200 Subject: fill with dihh --- escape.ansi | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 escape.ansi (limited to 'escape.ansi') diff --git a/escape.ansi b/escape.ansi new file mode 100644 index 0000000..c008b56 --- /dev/null +++ b/escape.ansi @@ -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