From f4d858e7a0888cfd1d09c421f71729e833322851 Mon Sep 17 00:00:00 2001 From: nicm Date: Wed, 10 Jul 2019 11:20:10 +0000 Subject: Add -F to refresh-client to specify flags for control clients - one flag at the moment, no-output which turns off forwarding pane output. From Thomas Adam. GitHub issue 1834. --- control-notify.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'control-notify.c') diff --git a/control-notify.c b/control-notify.c index 340dab73..a1e2b7bf 100644 --- a/control-notify.c +++ b/control-notify.c @@ -36,6 +36,9 @@ control_notify_input(struct client *c, struct window_pane *wp, if (c->session == NULL) return; + if (c->flags & CLIENT_CONTROL_NOOUTPUT) + return; + /* * Only write input if the window pane is linked to a window belonging * to the client's session. -- cgit v1.2.3