Pager Scrolling Doesn't Work with Trackpad
Thanks for filing an issue! Please answer the questions below so I can help you.
- iTerm2 version: 3.3.9
- OS version: OSX Catalina 10.15.4
- Attach ~/Library/Preferences/com.googlecode.iterm2.plist here (drag-drop from finder into this window): com.googlecode.iterm2.plist
Detailed steps to reproduce the problem: When using a pager like LESS, trackpad scrolling does not send page up/down events. I have "Scroll wheel sends arrow keys when in alternate screen mode" set to "Yes", however I am not using a mouse and I'm not using tmux or screen.
I searched the issues here and elsewhere pretty extensively and don't see any other reports of this, so my hunch is I have something misconfigured? This post gets pretty close by recommending adding -X
to my $LESS environment variable. Adding that makes scrolling work, but then breaks output of things such as git diff
.