diff options
author | 2012-11-05 13:13:04 +0000 | |
---|---|---|
committer | 2012-11-05 13:13:04 +0000 | |
commit | d2dc54653a6b6d0b0f1cdc89616adca8a27addfb (patch) | |
tree | b0e492ee15e629927b5da77d4a9c6d8e20575e37 | |
parent | typedef pthread_key_t to an int instead of a volatile int, reverts a chunk (diff) | |
download | wireguard-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.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 \ |