aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@openbsd.org>2012-11-05 13:13:04 +0000
committerNicholas Marriott <nicm@openbsd.org>2012-11-05 13:13:04 +0000
commitc68efec6c0f1a6ecf4950e4ddada4430fdea4156 (patch)
treeca5f3c4d0b25d366ff1943e1a04805eb6504e066
parent241a746f3219d90ec2fd081fe9e81a681d9e6cbd (diff)
downloadrtmux-c68efec6c0f1a6ecf4950e4ddada4430fdea4156.tar.gz
rtmux-c68efec6c0f1a6ecf4950e4ddada4430fdea4156.tar.bz2
rtmux-c68efec6c0f1a6ecf4950e4ddada4430fdea4156.zip
Show last client activity time in default choose-client list.
-rw-r--r--tmux.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/tmux.h b/tmux.h
index 2e2d982f..4a5326cf 100644
--- a/tmux.h
+++ b/tmux.h
@@ -100,7 +100,8 @@ extern char **environ;
#define CHOOSE_CLIENT_TEMPLATE \
"#{client_tty}: #{session_name} " \
"[#{client_width}x#{client_height} #{client_termname}]" \
- "#{?client_utf8, (utf8),} #{?client_readonly, (ro),}"
+ "#{?client_utf8, (utf8),}#{?client_readonly, (ro),} " \
+ "(last used #{client_activity_string})"
/* Default templates for choose-tree. */
#define CHOOSE_TREE_SESSION_TEMPLATE \