feat: keep console window on Windows for debug builds
This commit is contained in:
parent
70666416f7
commit
9fd4699c9f
@ -162,7 +162,9 @@
|
|||||||
|
|
||||||
void Window::initNative() {
|
void Window::initNative() {
|
||||||
auto hConsoleWindow = ::GetConsoleWindow();
|
auto hConsoleWindow = ::GetConsoleWindow();
|
||||||
|
#if !defined(DEBUG)
|
||||||
::ShowWindow(hConsoleWindow, FALSE);
|
::ShowWindow(hConsoleWindow, FALSE);
|
||||||
|
#endif
|
||||||
|
|
||||||
auto hConsole = ::GetStdHandle(STD_OUTPUT_HANDLE);
|
auto hConsole = ::GetStdHandle(STD_OUTPUT_HANDLE);
|
||||||
if (hConsole != INVALID_HANDLE_VALUE) {
|
if (hConsole != INVALID_HANDLE_VALUE) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user