4#ifdef MAYAFLUX_PLATFORM_WINDOWS
15static constexpr std::string_view
Reset =
"\033[0m";
18static constexpr std::string_view
Black =
"\033[30m";
19static constexpr std::string_view
Red =
"\033[31m";
20static constexpr std::string_view
Green =
"\033[32m";
21static constexpr std::string_view
Yellow =
"\033[33m";
22static constexpr std::string_view
Blue =
"\033[34m";
23static constexpr std::string_view
Magenta =
"\033[35m";
24static constexpr std::string_view
Cyan =
"\033[36m";
25static constexpr std::string_view
White =
"\033[37m";
28static constexpr std::string_view
BrightRed =
"\033[91m";
31static constexpr std::string_view
BrightBlue =
"\033[94m";
33static constexpr std::string_view
BrightCyan =
"\033[96m";
36static constexpr std::string_view
BgRed =
"\033[41m";
37static constexpr std::string_view
BgGreen =
"\033[42m";
38static constexpr std::string_view
BgYellow =
"\033[43m";
42#ifdef MAYAFLUX_PLATFORM_WINDOWS
43 HANDLE hOut = GetStdHandle(STD_OUTPUT_HANDLE);
44 if (hOut != INVALID_HANDLE_VALUE) {
46 if (GetConsoleMode(hOut, &dwMode)) {
47 return SetConsoleMode(hOut, dwMode | ENABLE_VIRTUAL_TERMINAL_PROCESSING);
static constexpr std::string_view BrightYellow
static constexpr std::string_view Yellow
static constexpr std::string_view BrightBlue
static constexpr std::string_view White
static constexpr std::string_view Blue
static constexpr std::string_view BrightGreen
static constexpr std::string_view Reset
static constexpr std::string_view BgGreen
static constexpr std::string_view Green
static constexpr std::string_view BgRed
static constexpr std::string_view BrightMagenta
static constexpr std::string_view Red
static constexpr std::string_view Black
static constexpr std::string_view Cyan
static constexpr std::string_view BrightRed
static bool initialize_console_colors()
static constexpr std::string_view BrightCyan
static constexpr std::string_view Magenta
static constexpr std::string_view BgYellow