Skip to content

Commit

Permalink
Terminal: Fix pagewise scrolling in alternate screen buffer mode
Browse files Browse the repository at this point in the history
It still used the old modifiers. Now it's shift as elsewhere.
  • Loading branch information
weinhold committed Oct 26, 2014
1 parent 831abec commit f76e8e9
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/apps/terminal/TermView.cpp
Expand Up @@ -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;
Expand Down

0 comments on commit f76e8e9

Please sign in to comment.