mirror of
https://github.com/tmux/tmux.git
synced 2025-01-12 19:39:04 +00:00
Sync OpenBSD patchset 195:
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
522fc94d12
commit
5a9b7b230c
4
tmux.c
4
tmux.c
@ -1,4 +1,4 @@
|
||||
/* $Id: tmux.c,v 1.150 2009-07-28 22:12:16 tcunha Exp $ */
|
||||
/* $Id: tmux.c,v 1.151 2009-07-30 20:17:25 tcunha Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
|
||||
@ -371,7 +371,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
|
||||
|
Loading…
Reference in New Issue
Block a user