mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-05-28 15:24:49 -05:00
Someone pointed out that ^~ should generate the same as ^^, for
consistency with xterm. [originally from svn r3314]
This commit is contained in:
parent
a9ea200b7f
commit
380fa0313d
4
window.c
4
window.c
@ -3537,6 +3537,10 @@ static int TranslateKey(UINT message, WPARAM wParam, LPARAM lParam,
|
|||||||
*p++ = 0x1C;
|
*p++ = 0x1C;
|
||||||
return p - output;
|
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) {
|
if (shift_state == 0 && wParam == VK_RETURN && term->cr_lf_return) {
|
||||||
*p++ = '\r';
|
*p++ = '\r';
|
||||||
*p++ = '\n';
|
*p++ = '\n';
|
||||||
|
Loading…
x
Reference in New Issue
Block a user