Re: Patch to implement reflowing

2013-02-01 Thread Richard Woodbury
On Fri, Feb 1, 2013 at 6:30 AM, Nicholas Marriott wrote: > > Hi > > Take a look at this please. > > We reflow in window_pane_resize when the alternate screen is off > (saved_grid == NULL) and always when switching back from alternate > screen. No need to reflow from any of the modes. One quick fi

[PATCH] Include command alias in lscm output

2013-02-01 Thread Thomas Adam
When printing out the command usage, include the command's alias as well. --- cmd-list-commands.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cmd-list-commands.c b/cmd-list-commands.c index 68e0e80..b6c2f98 100644 --- a/cmd-list-commands.c +++ b/cmd-list-commands.c @@ -43

Re: Patch to implement reflowing

2013-02-01 Thread Thomas Adam
Hi, On 1 February 2013 11:30, Nicholas Marriott wrote: > Hi > > Take a look at this please. > > We reflow in window_pane_resize when the alternate screen is off > (saved_grid == NULL) and always when switching back from alternate > screen. No need to reflow from any of the modes. Yep; looks good

Re: Patch to implement reflowing

2013-02-01 Thread Nicholas Marriott
Hi Take a look at this please. We reflow in window_pane_resize when the alternate screen is off (saved_grid == NULL) and always when switching back from alternate screen. No need to reflow from any of the modes. Index: grid.c === R

Re: Patch to implement reflowing

2013-02-01 Thread Nicholas Marriott
I think an argument rather than a flag would be better TBH, don't see a flag as being useful. On Fri, Feb 01, 2013 at 08:28:10AM +, Thomas Adam wrote: > Hi, > > On 1 February 2013 07:15, Richard Woodbury wrote: > > On Thu, Jan 31, 2013 at 6:55 AM, Nicholas Marriott > > wrote: > >> > >> Ok

Re: Patch to implement reflowing

2013-02-01 Thread Thomas Adam
Hi, On 1 February 2013 07:15, Richard Woodbury wrote: > On Thu, Jan 31, 2013 at 6:55 AM, Nicholas Marriott > wrote: >> >> Ok let's lose the option and make it the default and that means we don't >> have to have resizep -F and that means no man page changes too. >> >> I think I would try to put t