mirror of
https://github.com/tmux/tmux.git
synced 2025-04-22 20:38:48 +00:00
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:
parent
f596be9950
commit
d3c461097b
2
tmux.c
2
tmux.c
@ -362,7 +362,7 @@ main(int argc, char **argv)
|
|||||||
options_set_number(&global_s_options, "status-right-length", 40);
|
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-left", "[#S]");
|
||||||
options_set_string(
|
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)
|
if (flags & IDENTIFY_UTF8)
|
||||||
options_set_number(&global_s_options, "status-utf8", 1);
|
options_set_number(&global_s_options, "status-utf8", 1);
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user