modify key event logic to fix ctrl+space not being sent (#569)
This commit is contained in:
parent
4458bbc132
commit
a3023c2d09
|
@ -188,7 +188,7 @@ ReadConsoleForTermEmul(HANDLE hInput, char *destin, int destinlen)
|
|||
}
|
||||
|
||||
if (isConsoleVTSeqAvailable) {
|
||||
if (inputRecord.Event.KeyEvent.uChar.UnicodeChar != L'\0') {
|
||||
if (inputRecord.Event.KeyEvent.uChar.UnicodeChar != L'\0' || inputRecord.Event.KeyEvent.wVirtualScanCode == 0) {
|
||||
n = WideCharToMultiByte(
|
||||
CP_UTF8,
|
||||
0,
|
||||
|
|
Loading…
Reference in New Issue