diff options
author | nicm <nicm> | 2019-07-10 11:20:10 +0000 |
---|---|---|
committer | nicm <nicm> | 2019-07-10 11:20:10 +0000 |
commit | f4d858e7a0888cfd1d09c421f71729e833322851 (patch) | |
tree | 94ef4b0750b14587a72dc294ae9fadd2d614a7c2 /control-notify.c | |
parent | fc2016dbb665f01e795a89632a1bb74294bfc4e1 (diff) | |
download | rtmux-f4d858e7a0888cfd1d09c421f71729e833322851.tar.gz rtmux-f4d858e7a0888cfd1d09c421f71729e833322851.tar.bz2 rtmux-f4d858e7a0888cfd1d09c421f71729e833322851.zip |
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.c | 3 |
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. |