diff options
author | nicm <nicm> | 2015-10-25 22:29:17 +0000 |
---|---|---|
committer | nicm <nicm> | 2015-10-25 22:29:17 +0000 |
commit | e65306d8e7bd6db99bd0746cd16a21d2c066b8db (patch) | |
tree | 24b3e8cc7e367c16627ade3989389d85744c83e2 /cmd-list-sessions.c | |
parent | 3faa51a0caebb56746988ae7f5e9e9f649dc42b6 (diff) | |
download | rtmux-e65306d8e7bd6db99bd0746cd16a21d2c066b8db.tar.gz rtmux-e65306d8e7bd6db99bd0746cd16a21d2c066b8db.tar.bz2 rtmux-e65306d8e7bd6db99bd0746cd16a21d2c066b8db.zip |
Extend the modifiers allowed before formats: as well as the existing
#{=10:...} length limit, add #{t:...} to convert a time_t format to a
string, #{b:...} for basename and #{d:...} for dirname. Remove all the
foo_string time formats as they can now be replaced by "t:", for example
#{window_activity_string} becomes #{t:window_activity}.
Diffstat (limited to 'cmd-list-sessions.c')
-rw-r--r-- | cmd-list-sessions.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd-list-sessions.c b/cmd-list-sessions.c index 8ad55d03..49ef9467 100644 --- a/cmd-list-sessions.c +++ b/cmd-list-sessions.c @@ -30,7 +30,7 @@ #define LIST_SESSIONS_TEMPLATE \ "#{session_name}: #{session_windows} windows " \ - "(created #{session_created_string}) " \ + "(created #{t:session_created}) " \ "[#{session_width}x#{session_height}]" \ "#{?session_grouped, (group ,}" \ "#{session_group}#{?session_grouped,),}" \ |