Re: Patch to add "exit copy mode when scrolling past bottom" + option

2015-05-03 Thread Nicholas Marriott
scroll_region_* are for something else (the scroll region). This would need a new format. Which would be a reasonable solution. On Sun, May 03, 2015 at 04:26:18PM +0200, Enrico Ghirardi wrote: > On Sun, May 3, 2015 at 1:28 AM, Thomas Adam wrote: > > I haven't tested this, but I don't think this

Re: Patch to add "exit copy mode when scrolling past bottom" + option

2015-05-03 Thread Enrico Ghirardi
On Sun, May 3, 2015 at 1:28 AM, Thomas Adam wrote: > I haven't tested this, but I don't think this patch is needed, given > something like: > > bind -n WheelDownPane if -Ft= > "#{?pane_in_mode,#{?scroll_region_lower},,},," "send c-m" I'm not sure if it's only me, but #{scroll_region_lower} al

Re: Patch to add "exit copy mode when scrolling past bottom" + option

2015-05-02 Thread Thomas Adam
On 2 May 2015 at 13:44, David Verhasselt wrote: > A couple of weeks ago the mouse-related code was refactored and a feature > was removed: This feature exited copy-mode when scrolling with the mouse > down past the bottom. Combined with the feature that entered copy-mode when > scrolling up with t

Patch to add "exit copy mode when scrolling past bottom" + option

2015-05-02 Thread David Verhasselt
A couple of weeks ago the mouse-related code was refactored and a feature was removed: This feature exited copy-mode when scrolling with the mouse down past the bottom. Combined with the feature that entered copy-mode when scrolling up with the mouse, this was useful to emulate intuitively expected