Taking account of the "s, 22 not 24 is the maximum length of #T in status-right

to prevent the date being cut off.
This commit is contained in:
Nicholas Marriott 2009-07-29 05:36:53 +00:00
parent f596be9950
commit d3c461097b

2
tmux.c
View File

@ -362,7 +362,7 @@ main(int argc, char **argv)
options_set_number(&global_s_options, "status-right-length", 40);
options_set_string(&global_s_options, "status-left", "[#S]");
options_set_string(
&global_s_options, "status-right", "\"#24T\" %%H:%%M %%d-%%b-%%y");
&global_s_options, "status-right", "\"#22T\" %%H:%%M %%d-%%b-%%y");
if (flags & IDENTIFY_UTF8)
options_set_number(&global_s_options, "status-utf8", 1);
else