Fix [DEL] handling same as backspace.

[DEL] is 127 so is handled the same as a backspace.
This commit is contained in:
Ray Hayes 2016-09-27 12:31:14 -07:00 committed by GitHub
parent 3c07c0c9ae
commit 2de04bfe43

View File

@ -848,8 +848,9 @@ DWORD WINAPI ProcessPipes(LPVOID p) {
{
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]);
}
else if (buf[i] == '\t')