Sync OpenBSD patchset 1138:

Add a skeleton mode to tmux (called "control mode") that let's tmux
commands be sent and output received on stdout. This can be used to
integrate with other terminal emulators and should allow some other
things to be made simpler later. More to come so doesn't do much yet and
deliberately not documented.
This commit is contained in:
Tiago Cunha
2012-06-18 15:23:01 +00:00
parent a401420273
commit 0159c74a32
7 changed files with 190 additions and 4 deletions

View File

@ -49,6 +49,8 @@ server_fill_environ(struct session *s, struct environ *env)
void
server_write_ready(struct client *c)
{
if (c->flags & CLIENT_CONTROL)
return;
server_write_client(c, MSG_READY, NULL, 0);
}