diff options
author | Nicholas Marriott <nicm@cvs.openbsd.org> | 2012-11-05 13:13:05 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@cvs.openbsd.org> | 2012-11-05 13:13:05 +0000 |
commit | f7a0cb13b6e151a79031d716ba8cd21d874141f8 (patch) | |
tree | 9dd0657e43b20db5bf9c8a1ff22dd016eae8545a /usr.bin/tmux/tmux.h | |
parent | 4b3595a2368eb10da259bbd852e7e3f2af1271ff (diff) |
Show last client activity time in default choose-client list.
Diffstat (limited to 'usr.bin/tmux/tmux.h')
-rw-r--r-- | usr.bin/tmux/tmux.h | 5 |
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 \ |