From: Simon Tatham Date: Fri, 22 Sep 2000 13:23:35 +0000 (+0000) Subject: Everyone's favourite trivial change: Shift-Ins now pastes X-Git-Tag: r8855-g4f798d~3022 X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=commitdiff_plain;h=04319d0b77fbce4c6775b0f0752ed7fb1c742532;p=PuTTY_svn.git Everyone's favourite trivial change: Shift-Ins now pastes git-svn-id: http://svn.tartarus.org/sgt/putty@616 cda61777-01e9-0310-a592-d414129be87e --- 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; }