mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-07-09 23:33:46 -05:00
Reinstate the Shift-Ins paste behaviour, which was accidentally
broken by the mouse button redesignation that came with xterm mouse reporting. [originally from svn r1130]
This commit is contained in:
3
window.c
3
window.c
@ -2461,8 +2461,7 @@ static int TranslateKey(UINT message, WPARAM wParam, LPARAM lParam,
|
||||
return 0;
|
||||
}
|
||||
if (wParam == VK_INSERT && shift_state == 1) {
|
||||
term_mouse(MBT_PASTE, MA_CLICK, 0, 0, 0, 0);
|
||||
term_mouse(MBT_PASTE, MA_RELEASE, 0, 0, 0, 0);
|
||||
term_do_paste();
|
||||
return 0;
|
||||
}
|
||||
if (left_alt && wParam == VK_F4 && cfg.alt_f4) {
|
||||
|
Reference in New Issue
Block a user