summaryrefslogtreecommitdiffstats
path: root/control-notify.c
diff options
context:
space:
mode:
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.