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
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
+
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
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,
Sorry I've been silent on this, especially since I requested it. I'll make sure
I test it next week and report back, if someone doesn't test it later.
Thanks Nicholas and especially Thomas for the patch!
Pedro.
On 2 Aug 2013, at 14:14, Nicholas Marriott wrote:
> Anyone test this?
>
>
> On T
Anyone test this?
On Tue, Jul 30, 2013 at 02:58:58PM +0100, Thomas Adam wrote:
> On Tue, Jul 30, 2013 at 01:46:50PM +0100, Nicholas Marriott wrote:
> > This seems wrong, comments inline.
>
> Good; I did ask for testing. :)
>
> > I think you need to drop this else if you just rely on pkgconfig
How about this?
diff --git a/format.c b/format.c
index 0845df6..9a3ed07 100644
--- a/format.c
+++ b/format.c
@@ -191,7 +191,7 @@ int
format_replace(struct format_tree *ft,
const char *key, size_t keylen, char **buf, size_t *len, size_t *off)
{
- char*copy, *ptr;
+ c