Fixed hide/show console

This commit is contained in:
Leon Etienne (ubuntu wsl)
2020-09-27 15:47:53 +02:00
parent 5982019351
commit 6416e31966
2 changed files with 0 additions and 9 deletions

View File

@@ -3,12 +3,6 @@
void ConsoleManager::PrePreInit()
{
#ifdef _WIN
FreeConsole();
AllocConsole();
FILE* dummy;
freopen_s(&dummy, "CONOUT$", "wt", stdout);
freopen_s(&dummy, "CONOUT$", "wt", stderr);
freopen_s(&dummy, "CONOUT$", "rt", stdin);
consoleHandle = GetConsoleWindow();
#endif
return;