Someone pointed out that ^~ should generate the same as ^^, for

consistency with xterm.

[originally from svn r3314]
This commit is contained in:
Simon Tatham 2003-06-28 07:52:19 +00:00
Родитель a9ea200b7f
Коммит 380fa0313d
1 изменённых файлов: 4 добавлений и 0 удалений

Просмотреть файл

@ -3537,6 +3537,10 @@ static int TranslateKey(UINT message, WPARAM wParam, LPARAM lParam,
*p++ = 0x1C;
return p - output;
}
if (shift_state == 3 && wParam == 0xDE) {
*p++ = 0x1E; /* Ctrl-~ == Ctrl-^ in xterm at least */
return p - output;
}
if (shift_state == 0 && wParam == VK_RETURN && term->cr_lf_return) {
*p++ = '\r';
*p++ = '\n';