mirror of
https://github.com/PowerShell/openssh-portable.git
synced 2025-07-31 01:35:11 +02:00
support unicode characters from the ssh.exe (#228)
This commit is contained in:
parent
d4069f2055
commit
b3862103e4
@ -145,7 +145,7 @@ ReadConsoleForTermEmul(HANDLE hInput, char *destin, int destinlen)
|
|||||||
while (DataAvailable(hInput)) {
|
while (DataAvailable(hInput)) {
|
||||||
if (glob_outlen >= destinlen)
|
if (glob_outlen >= destinlen)
|
||||||
return glob_outlen;
|
return glob_outlen;
|
||||||
ReadConsoleInput(hInput, &InputRecord, 1, &dwInput);
|
ReadConsoleInputW(hInput, &InputRecord, 1, &dwInput);
|
||||||
switch (InputRecord.EventType) {
|
switch (InputRecord.EventType) {
|
||||||
case WINDOW_BUFFER_SIZE_EVENT:
|
case WINDOW_BUFFER_SIZE_EVENT:
|
||||||
queue_terminal_window_change_event();
|
queue_terminal_window_change_event();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user