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.
This commit is contained in:
nicm
2019-07-10 11:20:10 +00:00
parent fc2016dbb6
commit f4d858e7a0
4 changed files with 53 additions and 24 deletions

View File

@ -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.