chore: clean up code

This commit is contained in:
LordMZTE 2022-11-10 07:41:25 +01:00
parent b76daa2927
commit d4a6232234
Signed by: LordMZTE
GPG key ID: B64802DC33A64FF6

View file

@ -1,9 +1,13 @@
#pragma once
namespace ansi {
inline const char* reset = "\033[0m";
#define ANSI_CODE_DEF inline const char*
inline const char* cyan = "\033[0;36m";
inline const char* green = "\033[0;32m";
inline const char* yellow = "\033[0;33m";
namespace ansi {
ANSI_CODE_DEF reset = "\033[0m";
ANSI_CODE_DEF cyan = "\033[0;36m";
ANSI_CODE_DEF green = "\033[0;32m";
ANSI_CODE_DEF yellow = "\033[0;33m";
}
#undef ANSI_CODE_DEF