Re: A couple of annoyances with scrolling

2013-07-01 Thread James Nylen
I spoke too soon on that last point - I see that latest tmux starts scrolling the viewport immediately, which is nice. On Mon, Jul 1, 2013 at 9:09 PM, James Nylen wrote: > I'm annoyed at a couple of things regarding how tmux handles scrolling: > > I want a mouse-mode option th

A couple of annoyances with scrolling

2013-07-01 Thread James Nylen
I'm annoyed at a couple of things regarding how tmux handles scrolling: I want a mouse-mode option that means "only use the mouse to enter copy mode when the mouse wheel is used to scroll". I can write a patch for this. Looking in the code, does anybody actually use the "mode-mouse copy-mode" op

Re: [PATCH] Allow using mouse to scroll down in copy mode

2012-04-01 Thread James Nylen
Updated patch with a now-unused variable removed. On Sun, Apr 1, 2012 at 5:06 AM, James Nylen wrote: > I think there's a bug then. The attached patch fixes the issue. > > > On Sun, Apr 1, 2012 at 4:29 AM, Nicholas Marriott < > nicholas.marri...@gmail.com> wrote: &

Re: [PATCH] Allow using mouse to scroll down in copy mode

2012-04-01 Thread James Nylen
ottom of the history entirely not off the > bottom of the current visible screen. > > So no need for the option... > > > > On Sun, Apr 01, 2012 at 02:50:20AM -0400, James Nylen wrote: > >The attached patch adds a new option, mode-mouse-scroll-down, which > allows &

[PATCH] Allow using mouse to scroll down in copy mode

2012-03-31 Thread James Nylen
The attached patch adds a new option, mode-mouse-scroll-down, which allows the mouse wheel to scroll down past the end of the screen in copy mode. If the option is enabled, copy mode will only be exited when the cursor reaches the end of the buffer, instead of the default behavior (copy mode is ex