Closed connermcd closed 10 years ago
I don't use mouse support, but I'll turn it on to test today.
I'm on 10.7.1. Do you experience this with the mouse of the trackpad?
Yes, on the trackpad. Scrolling with it works fine in vim and other applications. Thanks!
As far as I can tell, this is actually due to a limitation in ncurses. To get the scroll wheel to work at all, is currently a massive hack. Out of the box ncurses only seems to work scrolling down unless you compile it with something like --enable-mouse (can't remember the exact option name). There is however unique input when you scroll up so i manually check for that and treat that as mouse event. However this seems to come in much more infrequently then a scroll down. So as the code works at the moment, scrolling up either takes a lot more work because you need to do it many more times, or it jumps about (because they are more rare I scroll further) . I will look into trying to make it more responsive and try and find out what some other applications do , but I know exactly what you are talking about and I too find it quite annoying.
Just another observation... I've noticed that the mouse support for scrolling down works well but scrolling up does not. I'm using OSX 10.6.8 (Snow Leopard) with iTerm2 Build 1.0.0.20120724. When I scroll up it is jumpy and far slower than when scrolling down (which is smooth as expected).