summaryrefslogtreecommitdiff
path: root/usr.bin/tmux
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@cvs.openbsd.org>2012-11-05 13:13:05 +0000
committerNicholas Marriott <nicm@cvs.openbsd.org>2012-11-05 13:13:05 +0000
commitf7a0cb13b6e151a79031d716ba8cd21d874141f8 (patch)
tree9dd0657e43b20db5bf9c8a1ff22dd016eae8545a /usr.bin/tmux
parent4b3595a2368eb10da259bbd852e7e3f2af1271ff (diff)
Show last client activity time in default choose-client list.
Diffstat (limited to 'usr.bin/tmux')
-rw-r--r--usr.bin/tmux/tmux.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.bin/tmux/tmux.h b/usr.bin/tmux/tmux.h
index 122449c5d52..bd89191b980 100644
--- a/usr.bin/tmux/tmux.h
+++ b/usr.bin/tmux/tmux.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: tmux.h,v 1.360 2012/10/26 14:35:42 nicm Exp $ */
+/* $OpenBSD: tmux.h,v 1.361 2012/11/05 13:13:04 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -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 \