1 Commits

Author SHA1 Message Date
6836cab537 Re-enable color output on Windows. 2025-06-04 13:54:50 -05:00
3 changed files with 3 additions and 5 deletions

View File

@@ -28,7 +28,7 @@ CPMAddPackage(
CPMAddPackage(
NAME mcolor
URL https://git.redacted.cc/maxine/mcolor/archive/Prerelease-7.2.zip
URL https://git.redacted.cc/maxine/mcolor/archive/Release-1.zip
)
if (UNIX)

View File

@@ -47,10 +47,7 @@ namespace jlog {
const Timestamp &ts = Timestamp()) {
if (!Enable)
return;
// Disable color on Windows. I've been trying my best to keep this macro hidden from the user. - maxine
#ifdef WIN32
IncludeColor = false;
#endif
if (IncludeTimestamp) {
Timestamp ts;
os << token{std::format(

View File

@@ -8,6 +8,7 @@
int main()
{
mcolor::windowsSaneify();
jlog::GenericLogger Demo("demo", jlog::GlobalLogFile);
Demo("No new demo yet");
jlog::Info("dsadsd");