Skip to content
Snippets Groups Projects
Commit 87845c67 authored by George Nachman's avatar George Nachman
Browse files

Hold option to scroll into history while in alternate screen when scroll wheel...

Hold option to scroll into history while in alternate screen when scroll wheel is in send-arrow-keys-in-alt-screen mode
parent 4913bed7
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -1660,6 +1660,10 @@ static const int kDragThreshold = 3;
// Prefer to report the scroll than to send arrow keys in this mouse reporting mode.
return NO;
}
if (event.modifierFlags & NSEventModifierFlagOption) {
// Hold alt to disable sending arrow keys.
return NO;
}
BOOL alternateMouseScroll = [iTermAdvancedSettingsModel alternateMouseScroll];
NSString *upString = [iTermAdvancedSettingsModel alternateMouseScrollStringForUp];
NSString *downString = [iTermAdvancedSettingsModel alternateMouseScrollStringForDown];
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment