aboutsummaryrefslogtreecommitdiff
path: root/cmd-choose-client.c
diff options
context:
space:
mode:
authornicm <nicm>2015-10-25 22:29:17 +0000
committernicm <nicm>2015-10-25 22:29:17 +0000
commite65306d8e7bd6db99bd0746cd16a21d2c066b8db (patch)
tree24b3e8cc7e367c16627ade3989389d85744c83e2 /cmd-choose-client.c
parent3faa51a0caebb56746988ae7f5e9e9f649dc42b6 (diff)
downloadrtmux-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-choose-client.c')
-rw-r--r--cmd-choose-client.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd-choose-client.c b/cmd-choose-client.c
index 93ac28a8..93a141ee 100644
--- a/cmd-choose-client.c
+++ b/cmd-choose-client.c
@@ -31,7 +31,7 @@
"#{client_tty}: #{session_name} " \
"[#{client_width}x#{client_height} #{client_termname}]" \
"#{?client_utf8, (utf8),}#{?client_readonly, (ro),} " \
- "(last used #{client_activity_string})"
+ "(last used #{t:client_activity})"
enum cmd_retval cmd_choose_client_exec(struct cmd *, struct cmd_q *);