From c68efec6c0f1a6ecf4950e4ddada4430fdea4156 Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Mon, 5 Nov 2012 13:13:04 +0000 Subject: [PATCH] Show last client activity time in default choose-client list. --- tmux.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 \