mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-07-05 21:42:47 -05:00
Bug `shift-backspace': whichever of ^H and ^? is configured for
Backspace, Shift-Backspace should do the _other_ one. Thanks to Justin Bradford. [originally from svn r2079]
This commit is contained in:
6
window.c
6
window.c
@ -3404,6 +3404,12 @@ static int TranslateKey(UINT message, WPARAM wParam, LPARAM lParam,
|
||||
*p++ = 0;
|
||||
return -2;
|
||||
}
|
||||
if (wParam == VK_BACK && shift_state == 1) { /* Shift Backspace */
|
||||
/* We do the opposite of what is configured */
|
||||
*p++ = (cfg.bksp_is_delete ? 0x08 : 0x7F);
|
||||
*p++ = 0;
|
||||
return -2;
|
||||
}
|
||||
if (wParam == VK_TAB && shift_state == 1) { /* Shift tab */
|
||||
*p++ = 0x1B;
|
||||
*p++ = '[';
|
||||
|
Reference in New Issue
Block a user