On Sun, Feb 7, 2010 at 4:47 PM, Seth Wright <s...@crosse.org> wrote: > Hello, > > I noticed with tmux(1) that the default string for the "status-right" > option produces a right-hand status section that looks like this > (notice the quotes at the beginning): > > "" 11:44 07-Feb-10 > > I'm thinking that the quoted nothingness ("") is not supposed to be > there (at least, the man page just says "[b]y default, the date and > time will be shown" and that's it). If this is a bug, a diff is > below. > > Thanks, > > --seth
...and here's the diff with the whitespace not mangled (hopefully): Index: tmux.c =================================================================== RCS file: /cvs/src/usr.bin/tmux/tmux.c,v retrieving revision 1.71 diff -u -p -r1.71 tmux.c --- tmux.c 6 Feb 2010 18:47:41 -0000 1.71 +++ tmux.c 7 Feb 2010 21:49:27 -0000 @@ -374,7 +374,7 @@ main(int argc, char **argv) options_set_number(so, "status-left-bg", 8); options_set_number(so, "status-left-fg", 8); options_set_number(so, "status-left-length", 10); - options_set_string(so, "status-right", "\"#22T\" %%H:%%M %%d-%%b-%%y"); + options_set_string(so, "status-right", "#22T %%H:%%M %%d-%%b-%%y"); options_set_number(so, "status-right-attr", 0); options_set_number(so, "status-right-bg", 8); options_set_number(so, "status-right-fg", 8);