mirror of
https://github.com/PowerShell/openssh-portable.git
synced 2025-07-28 00:04:30 +02:00
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 (isConsoleVTSeqAvailable) {
|
||||||
if (inputRecord.Event.KeyEvent.uChar.UnicodeChar != L'\0') {
|
if (inputRecord.Event.KeyEvent.uChar.UnicodeChar != L'\0' || inputRecord.Event.KeyEvent.wVirtualScanCode == 0) {
|
||||||
n = WideCharToMultiByte(
|
n = WideCharToMultiByte(
|
||||||
CP_UTF8,
|
CP_UTF8,
|
||||||
0,
|
0,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user