Merge pull request #233 from Jules-A/hideConsole
[Windows] Hide the console window in the current session when disabling in menu.
This commit is contained in:
commit
fe93b70de8
|
@ -208,6 +208,7 @@ void CloseConsole()
|
|||
WritePrivateProfileInt("Console", "PosY", pos.top, IniName);
|
||||
WritePrivateProfileInt("Console", "Width", width, IniName);
|
||||
WritePrivateProfileInt("Console", "Height", height, IniName);
|
||||
ShowWindow(gConsoleWnd, SW_HIDE); // FreeConsole isn't killing the console process in Windows 10 so just hide the window for now.
|
||||
}
|
||||
|
||||
FreeConsole();
|
||||
|
|
Loading…
Reference in New Issue