We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3a7c731 commit 165331aCopy full SHA for 165331a
main.c
@@ -443,7 +443,9 @@ static void __cdecl InputHandlerThread(LPVOID arg) {
443
DWORD mode;
444
445
GetConsoleMode(hStdin, &mode);
446
- SetConsoleMode(hStdin, (mode & ~ENABLE_LINE_INPUT) & ~ENABLE_ECHO_INPUT);
+ mode &= ~(ENABLE_LINE_INPUT | ENABLE_ECHO_INPUT);
447
+ mode |= ENABLE_VIRTUAL_TERMINAL_INPUT;
448
+ SetConsoleMode(hStdin, mode);
449
450
char buffer;
451
DWORD bytesRead, bytesWritten;
0 commit comments