]> asedeno.scripts.mit.edu Git - PuTTY.git/blobdiff - windows/window.c
New SSH bug flag, for 'can't handle SSH2_MSG_IGNORE'. Another user
[PuTTY.git] / windows / window.c
index 3f092ae599dd878422bd4668bc067cec816749dc..96f64999d4705454dee6f95355fbd8f7a929f943 100644 (file)
@@ -3811,6 +3811,10 @@ static int TranslateKey(UINT message, WPARAM wParam, LPARAM lParam,
            SendMessage(hwnd, WM_VSCROLL, SB_LINEDOWN, 0);
            return 0;
        }
+       if ((wParam == VK_PRIOR || wParam == VK_NEXT) && shift_state == 3) {
+           term_scroll_to_selection(term, (wParam == VK_PRIOR ? 0 : 1));
+           return 0;
+       }
        if (wParam == VK_INSERT && shift_state == 1) {
            request_paste(NULL);
            return 0;