1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-04 12:00:25 +00:00

Merge pull request #67434 from bruvzg/win_wrapper

Add console wrapper app to handle console i/o redirection on Windows.
This commit is contained in:
Rémi Verschelde
2022-11-04 10:49:37 +01:00
9 changed files with 261 additions and 41 deletions

View File

@@ -103,8 +103,6 @@ void RedirectIOToConsole() {
RedirectStream("CONIN$", "r", stdin, STD_INPUT_HANDLE);
RedirectStream("CONOUT$", "w", stdout, STD_OUTPUT_HANDLE);
RedirectStream("CONOUT$", "w", stderr, STD_ERROR_HANDLE);
printf("\n"); // Make sure our output is starting from the new line.
}
}