summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornicm <nicm@openbsd.org>2012-11-05 13:13:04 +0000
committernicm <nicm@openbsd.org>2012-11-05 13:13:04 +0000
commitd2dc54653a6b6d0b0f1cdc89616adca8a27addfb (patch)
treeb0e492ee15e629927b5da77d4a9c6d8e20575e37
parenttypedef pthread_key_t to an int instead of a volatile int, reverts a chunk (diff)
downloadwireguard-openbsd-d2dc54653a6b6d0b0f1cdc89616adca8a27addfb.tar.xz
wireguard-openbsd-d2dc54653a6b6d0b0f1cdc89616adca8a27addfb.zip
Show last client activity time in default choose-client list.
-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 \