Terminal: Fix pagewise scrolling in alternate screen buffer mode
It still used the old modifiers. Now it's shift as elsewhere.
This commit is contained in:
@@ -1686,9 +1686,7 @@ TermView::MessageReceived(BMessage *msg)
|
|||||||
// pressed
|
// pressed
|
||||||
int32 steps;
|
int32 steps;
|
||||||
const char* stepString;
|
const char* stepString;
|
||||||
if ((modifiers()
|
if ((modifiers() & B_SHIFT_KEY) != 0) {
|
||||||
& (B_OPTION_KEY | B_COMMAND_KEY | B_CONTROL_KEY))
|
|
||||||
!= 0) {
|
|
||||||
// pagewise
|
// pagewise
|
||||||
stepString = deltaY > 0
|
stepString = deltaY > 0
|
||||||
? PAGE_DOWN_KEY_CODE : PAGE_UP_KEY_CODE;
|
? PAGE_DOWN_KEY_CODE : PAGE_UP_KEY_CODE;
|
||||||
|
|||||||
Reference in New Issue
Block a user