summaryrefslogtreecommitdiffstats
path: root/control-notify.c
diff options
context:
space:
mode:
authornicm <nicm>2019-07-10 11:20:10 +0000
committernicm <nicm>2019-07-10 11:20:10 +0000
commitf4d858e7a0888cfd1d09c421f71729e833322851 (patch)
tree94ef4b0750b14587a72dc294ae9fadd2d614a7c2 /control-notify.c
parentfc2016dbb665f01e795a89632a1bb74294bfc4e1 (diff)
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.
Diffstat (limited to 'control-notify.c')
-rw-r--r--control-notify.c3
1 files changed, 3 insertions, 0 deletions
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.