Re: [PATCH] capture-pane -S/-E: accept wider range

2011-12-27 Thread Nicholas Marriott
Yes, I think this is fine. Applied, thanks. On Wed, Dec 21, 2011 at 03:59:39PM -0600, Chris Johnsen wrote: > A pane can potentially have up to INT_MAX lines of history (limited > via "history-limit"), but "capture-pane" only accepts values down to > SHRT_MIN for its "-E" and "-S" options. > > To

[PATCH] capture-pane -S/-E: accept wider range

2011-12-26 Thread Chris Johnsen
A pane can potentially have up to INT_MAX lines of history (limited via "history-limit"), but "capture-pane" only accepts values down to SHRT_MIN for its "-E" and "-S" options. To allow it to capture a pane's full history, negative numbers down to at least -INT_MAX should be accepted for these opt