1
0
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:
Simon Tatham
2001-05-17 10:06:54 +00:00
parent aca29ffb7b
commit 079b6bc6f6
3 changed files with 51 additions and 46 deletions

View File

@ -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) {