From 196d42f89ce29f0e874c2220ee40a7753243d3de Mon Sep 17 00:00:00 2001 From: Simon Tatham Date: Fri, 22 Sep 2000 13:23:35 +0000 Subject: [PATCH] Everyone's favourite trivial change: Shift-Ins now pastes [originally from svn r616] --- window.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/window.c b/window.c index 9c973faf..9a365626 100644 --- a/window.c +++ b/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; }