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:
parent
e70425dda6
commit
196d42f89c
5
window.c
5
window.c
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user