mirror of
https://github.com/tmux/tmux.git
synced 2025-09-04 06:56:58 +00:00
Sync OpenBSD patchset 360:
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:
3
tmux.h
3
tmux.h
@ -1,4 +1,4 @@
|
||||
/* $Id: tmux.h,v 1.456 2009-09-25 17:51:39 tcunha Exp $ */
|
||||
/* $Id: tmux.h,v 1.457 2009-10-06 14:00:50 tcunha Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
|
||||
@ -920,6 +920,7 @@ struct tty_ctx {
|
||||
/* Client connection. */
|
||||
struct client {
|
||||
struct imsgbuf ibuf;
|
||||
struct timeval tv;
|
||||
|
||||
struct environ environ;
|
||||
|
||||
|
Reference in New Issue
Block a user