Closed ron-wolf closed 4 years ago
I'm developing this on a Mac, and I do have scroll wheel / trackpad support in moar
, so I will need help understanding why it does not work for you.
Please try this:
less /etc/passwd
with a short enough window, verify that mouse scrolling worksmoar /etc/passwd
in the same window, try mouse scrolling and note whether or not it worksless /etc/passwd
again, verify that mouse scrolling still worksIf 1 and 3 works but not 2, then this seems to be an issue with moar
.
What terminal are you using? I'm on iTerm2
.
Just released 0.9.12 which should fix this, @ron-wolf can you verify if it works for you?
@walles Yes, it does! I do notice quite a bit more lag with moar
, but it does indeed support mousewheel scrolling, amazing!
On macOS (Darwin),
less
allows using the mouse or trackpad to scroll up & down. However, this feature is not provided bymoar
. Do we have any insight on how this feature is implemented? Judging by the output ofsymbols $(which less)
,less
uses the POSIX terminal interface (i.e.,termios.h
), since it mentions multiple functions fromtcsetattr(3)
. This may indicate one potential implementation path.