Open asafch opened 8 years ago
This is caused by the "-X" added to less when run from man here: https://github.com/mathiasbynens/dotfiles/blob/master/.exports#L30
Remove the " -X" and less will handle mouse scrolling! (like this change, https://github.com/mathiasbynens/dotfiles/pull/721)
This disables the feature the author was adding however: to keep the text output of man within the terminal scrollback.
To capture the man text and keep the scrolling, you can wrap it in a script like here: http://unix.stackexchange.com/questions/107315/less-quit-if-one-screen-without-no-init/107355#107355
See here for more details: http://unix.stackexchange.com/questions/167735/can-less-f-be-usefully-combined-with-termcap-initialization
When I open a man page in the terminal, I can't scroll down with the trackpad, but only with the up\down keys. If I scroll down with the down key, only then I'm able to use the trackpad to scroll up, and also to scroll down as much as has been scrolled down with the down key.
Any ideas why this happens?