From feb89512bf8a1230feaf8fe8a08cc749b5a685a6 Mon Sep 17 00:00:00 2001
From: Carl Philipp Klemm <philipp@uvos.xyz>
Date: Tue, 25 Jul 2023 13:01:14 +0200
Subject: [PATCH] export: mitigate terrible windows stdout performance by
 chainging stdout chacheing behavior

---
 main.cpp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/main.cpp b/main.cpp
index c5b5e64..0a95067 100644
--- a/main.cpp
+++ b/main.cpp
@@ -314,6 +314,7 @@ std::string translateModelString(const std::string& in, int type)
 
 int main(int argc, char** argv)
 {
+	std::ios_base::sync_with_stdio(false);
 	eis::Log::level = eis::Log::INFO;
 	Config config;
 	argp_parse(&argp, argc, argv, 0, 0, &config);
-- 
GitLab