aboutsummaryrefslogtreecommitdiff
path: root/tmux.h
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@openbsd.org>2009-10-05 18:30:54 +0000
committerNicholas Marriott <nicm@openbsd.org>2009-10-05 18:30:54 +0000
commit4ca2200d838732c129c6dd5c11f92245346a1e28 (patch)
tree44096997d5b3b2d20ef12f24f37a627a99a5e747 /tmux.h
parent45043ebf3ecabb8847d404baa7b3e9d66696f667 (diff)
downloadrtmux-4ca2200d838732c129c6dd5c11f92245346a1e28.tar.gz
rtmux-4ca2200d838732c129c6dd5c11f92245346a1e28.tar.bz2
rtmux-4ca2200d838732c129c6dd5c11f92245346a1e28.zip
If no target client is specified to commands which accept one, try to guess the
current client, in a similar manner to how sessions already work: if the current session can be established and has only one client, use that; otherwise use the most recently created client.
Diffstat (limited to 'tmux.h')
-rw-r--r--tmux.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/tmux.h b/tmux.h
index 3c49ae30..f21962b9 100644
--- a/tmux.h
+++ b/tmux.h
@@ -922,6 +922,7 @@ struct tty_ctx {
/* Client connection. */
struct client {
struct imsgbuf ibuf;
+ struct timeval tv;
struct environ environ;