Re: Regression: Length limit of window-status-format doesn't work on the tip

2013-08-03 Thread Nicholas Marriott
Applied it now, thanks. On Fri, Aug 02, 2013 at 04:16:45PM -0400, Naseer Ahmed wrote: >Thanks - this patch fixes it. > >On Fri, Aug 2, 2013 at 12:48 PM, Nicholas Marriott ><[1]nicholas.marri...@gmail.com> wrote: > > In fact try this instead, this one changes the syntax to prefix

Re: Regression: Length limit of window-status-format doesn't work on the tip

2013-08-02 Thread Naseer Ahmed
Thanks - this patch fixes it. On Fri, Aug 2, 2013 at 12:48 PM, Nicholas Marriott < nicholas.marri...@gmail.com> wrote: > In fact try this instead, this one changes the syntax to prefix it with > an =, so #{=20:pane_title}. This'll mean later on we can add additional > operators for padding, quot

Re: Regression: Length limit of window-status-format doesn't work on the tip

2013-08-02 Thread Nicholas Marriott
In fact try this instead, this one changes the syntax to prefix it with an =, so #{=20:pane_title}. This'll mean later on we can add additional operators for padding, quoting etc without conflicting with length limits. diff --git a/format.c b/format.c index 0845df6..b7faab3 100644 --- a/format.c +

Re: Regression: Length limit of window-status-format doesn't work on the tip

2013-08-02 Thread Nicholas Marriott
Ah yes this was lost when we changed to just use the format aliases code. Try this diff for now which lets you set a length limit when using the full format. You'll want to use #{20:pane_title} instead of #20T. diff --git a/format.c b/format.c index 0845df6..7ed6fb2 100644 --- a/format.c +++ b/for

Regression: Length limit of window-status-format doesn't work on the tip

2013-08-02 Thread Naseer Ahmed
This option used to work on tmux-1.8, now it just shows the full title. set-option -gw window-status-format "#I:#20W#F" -- Get your SQL database under version control now! Version control is standard for application code,