From f76e8e9d92b5f6346136948399998ff55d5ebc13 Mon Sep 17 00:00:00 2001 From: Ingo Weinhold Date: Sun, 26 Oct 2014 13:18:07 +0100 Subject: [PATCH] Terminal: Fix pagewise scrolling in alternate screen buffer mode It still used the old modifiers. Now it's shift as elsewhere. --- src/apps/terminal/TermView.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/apps/terminal/TermView.cpp b/src/apps/terminal/TermView.cpp index 8267c802bf..eb6c9b988c 100644 --- a/src/apps/terminal/TermView.cpp +++ b/src/apps/terminal/TermView.cpp @@ -1686,9 +1686,7 @@ TermView::MessageReceived(BMessage *msg) // pressed int32 steps; const char* stepString; - if ((modifiers() - & (B_OPTION_KEY | B_COMMAND_KEY | B_CONTROL_KEY)) - != 0) { + if ((modifiers() & B_SHIFT_KEY) != 0) { // pagewise stepString = deltaY > 0 ? PAGE_DOWN_KEY_CODE : PAGE_UP_KEY_CODE;