зеркало из https://github.com/github/putty.git
Someone pointed out that ^~ should generate the same as ^^, for
consistency with xterm. [originally from svn r3314]
This commit is contained in:
Родитель
a9ea200b7f
Коммит
380fa0313d
4
window.c
4
window.c
|
@ -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';
|
||||
|
|
Загрузка…
Ссылка в новой задаче