mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-07-23 14:01:34 -05:00
Someone pointed out that ^~ should generate the same as ^^, for
consistency with xterm. [originally from svn r3314]
This commit is contained in:
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';
|
||||||
|
Reference in New Issue
Block a user