mirror of
https://github.com/PowerShell/Win32-OpenSSH.git
synced 2025-07-26 15:34:37 +02:00
Fix [DEL] handling same as backspace.
[DEL] is 127 so is handled the same as a backspace.
This commit is contained in:
parent
3c07c0c9ae
commit
2de04bfe43
@ -848,8 +848,9 @@ DWORD WINAPI ProcessPipes(LPVOID p) {
|
|||||||
{
|
{
|
||||||
SendKeyStroke(child_in, VK_RETURN, buf[0]);
|
SendKeyStroke(child_in, VK_RETURN, buf[0]);
|
||||||
}
|
}
|
||||||
else if (buf[i] == '\b')
|
else if (buf[i] == '\b' || buf[i] == 127)
|
||||||
{
|
{
|
||||||
|
buf[0] = 8;
|
||||||
SendKeyStroke(child_in, VK_BACK, buf[0]);
|
SendKeyStroke(child_in, VK_BACK, buf[0]);
|
||||||
}
|
}
|
||||||
else if (buf[i] == '\t')
|
else if (buf[i] == '\t')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user