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.
This commit is contained in:
Nicholas Marriott
2009-10-05 18:30:54 +00:00
parent 45043ebf3e
commit 4ca2200d83
3 changed files with 53 additions and 2 deletions

1
tmux.h
View File

@ -922,6 +922,7 @@ struct tty_ctx {
/* Client connection. */
struct client {
struct imsgbuf ibuf;
struct timeval tv;
struct environ environ;