en - off < 2) {
> + buf = xrealloc(buf, 2, len);
> + len *= 2;
> + }
> + buf[off++] = '#';
> continue;
> default:
>
On Fri, Jan 31, 2014 at 3:42 PM, Nicholas Marriott
wrote:
> Hi
>
> On Wed, Jan 22, 2014 at 03:18:14PM +0400, Azat Khuzhin wrote:
>> @@ -333,7 +333,9 @@ format_expand(struct format_tree *ft, const char *fmt)
>> - buf[off++] = ch;
>> +
With you patch:
$ tmux -Lfoo new -s test
For me, ###S converted to ##test
On Fri, Jan 31, 2014 at 3:51 PM, Nicholas Marriott
wrote:
> Yes it works for me with ###S but if you could check what you were doing
> also then that'd be good.
>
>
> On Fri, Jan 31, 2014 at 03:45:21PM
After c231381aa3a22340e787baaf78781d9b8ecd6a2c ("Demote the
old single-character replacement variables #S")
Before this patch, the next command produce '##S':
set-option -g status-right '###S'
---
I don't sure that this patch must edit format_expand(), but that was easier.
format.c | 4 +++-
sta