1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-01-10 01:48:00 +00:00

Everyone's favourite trivial change: Shift-Ins now pastes

[originally from svn r616]
This commit is contained in:
Simon Tatham 2000-09-22 13:23:35 +00:00
parent e70425dda6
commit 196d42f89c

View File

@ -1799,6 +1799,11 @@ static WPARAM compose_key = 0;
SendMessage (hwnd, WM_VSCROLL, SB_PAGEDOWN, 0);
return 0;
}
if (wParam == VK_INSERT && shift_state == 1) {
term_mouse (MB_PASTE, MA_CLICK, 0, 0);
term_mouse (MB_PASTE, MA_RELEASE, 0, 0);
return 0;
}
if (left_alt && wParam == VK_F4 && cfg.alt_f4) {
return -1;
}