diff options
| author | jStmaX! <maxwasmailed@proton.me> | 2025-10-09 16:18:55 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-10-09 16:18:55 +0200 |
| commit | c86c8cda6c5462ceb6b2f27ec8aca9af7799c66d (patch) | |
| tree | 5d5686a943cec851233f520344cc146852ae75bc /escape.ansi | |
| parent | 75d15d28657559382bcfe13244e9d2a87a9b24f0 (diff) | |
fill with dihh
Diffstat (limited to 'escape.ansi')
| -rw-r--r-- | escape.ansi | 25 |
1 files changed, 25 insertions, 0 deletions
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 <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 +*/ |