summaryrefslogtreecommitdiff
path: root/usr.bin/tmux/tmux.h
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@cvs.openbsd.org>2009-10-05 18:30:55 +0000
committerNicholas Marriott <nicm@cvs.openbsd.org>2009-10-05 18:30:55 +0000
commitf7709a16f4d20f26d84497c07c17feb8817d5ac4 (patch)
tree9f635b12cceca5cf07f0f21f5f8cf6c6985adde0 /usr.bin/tmux/tmux.h
parentb1f0999c04e72d7ec869947978955972b2daf1c1 (diff)
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 'usr.bin/tmux/tmux.h')
-rw-r--r--usr.bin/tmux/tmux.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/tmux/tmux.h b/usr.bin/tmux/tmux.h
index 5996e364a9a..600ff4ce362 100644
--- a/usr.bin/tmux/tmux.h
+++ b/usr.bin/tmux/tmux.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: tmux.h,v 1.118 2009/09/24 14:17:09 nicm Exp $ */
+/* $OpenBSD: tmux.h,v 1.119 2009/10/05 18:30:54 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -922,6 +922,7 @@ struct tty_ctx {
/* Client connection. */
struct client {
struct imsgbuf ibuf;
+ struct timeval tv;
struct environ environ;