From 2942eca8953561cef0764c1775666697ee032c34 Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Mon, 18 Jun 2012 13:16:42 +0000 Subject: 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. --- server-fn.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'server-fn.c') diff --git a/server-fn.c b/server-fn.c index 794205d7..1c55e16b 100644 --- a/server-fn.c +++ b/server-fn.c @@ -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); } -- cgit v1.2.3