Mouse scroll inside pagers
Other terminal allow mouse scrolling inside pagers(
foot does not have this feature. For example,
less file in
kitty can be scrolled with the mouse, but this does not work in
foot does support this; in fact, you have two options:
- enable native mouse support in the applications (e.g.
- enable alternate scroll mode (
echo -e '\e[?1007h').
See also #76.
Alternate scroll mode is currently disabled by default in foot. Perhaps it should be enabled by default. Or even better, add an option to
foot.ini that sets the default.
Interesting, I did not know this feature was called alternative scroll. I think most other terminal emulators have this on by default.
Feel free to test #137 if you like.
It adds a configuration option that controls the initial state of the Alternate Scroll Mode, and defaults to enabled. I.e. scrolling in
less should work out-of-the-box.
Deleting a branch is permanent. It CANNOT be undone. Continue?