fix: only show console color when supported

This commit is contained in:
Jan Laupetin committed 2025-11-30 16:28:35 +00:00
1 parent a4aaefa648
commit 7227772045
14 files changed
+108 -29

No files matched your search

@@ -6,6 +6,7 @@
#include "Persistence/IDataRepository.h"
#include "Persistence/InMemory/InMemoryRepository.h"
#include "Printing/PrettyPrinter.h"
#include "Utils/Logging/Log.h"
#include "ZoneCodeGeneratorArguments.h"
#include <cstdio>
@@ -23,6 +24,8 @@ public:
int Run(const int argc, const char** argv) override
{
con::init();
auto shouldContinue = true;
if (!m_args.ParseArgs(argc, argv, shouldContinue))
return 1;