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)) {
|
||||
if (glob_outlen >= destinlen)
|
||||
return glob_outlen;
|
||||
ReadConsoleInput(hInput, &InputRecord, 1, &dwInput);
|
||||
ReadConsoleInputW(hInput, &InputRecord, 1, &dwInput);
|
||||
switch (InputRecord.EventType) {
|
||||
case WINDOW_BUFFER_SIZE_EVENT:
|
||||
queue_terminal_window_change_event();
|
||||
|
|
Loading…
Reference in New Issue