mirror of
https://github.com/godotengine/godot.git
synced 2025-10-19 16:03:29 +00:00
Add console wrapper app to handle console i/o redirection on Windows.
This commit is contained in:
parent
6a9317c9fc
commit
9a33c97c2a
9 changed files with 261 additions and 41 deletions
|
@ -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.
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue