X-Git-Url: https://git.distorted.org.uk/u/mdw/putty/blobdiff_plain/a59221b9c8d85a3abe42fd06e878aa3e6d66d5ac..153580daf15678abfda19cc8b9138cc1df09c58a:/window.c diff --git a/window.c b/window.c index 8696fe41..77f45984 100644 --- a/window.c +++ b/window.c @@ -3290,10 +3290,18 @@ static int TranslateKey(UINT message, WPARAM wParam, LPARAM lParam, SendMessage(hwnd, WM_VSCROLL, SB_PAGEUP, 0); return 0; } + if (wParam == VK_PRIOR && shift_state == 2) { + SendMessage(hwnd, WM_VSCROLL, SB_LINEUP, 0); + return 0; + } if (wParam == VK_NEXT && shift_state == 1) { SendMessage(hwnd, WM_VSCROLL, SB_PAGEDOWN, 0); return 0; } + if (wParam == VK_NEXT && shift_state == 2) { + SendMessage(hwnd, WM_VSCROLL, SB_LINEDOWN, 0); + return 0; + } if (wParam == VK_INSERT && shift_state == 1) { term_do_paste(term); return 0;