mirror of
https://github.com/tmux/tmux.git
synced 2025-09-02 05:21:10 +00:00
Defer reading from control client until the command line command has
completed.
This commit is contained in:
@ -2791,8 +2791,11 @@ server_client_command_done(struct cmdq_item *item, __unused void *data)
|
||||
|
||||
if (~c->flags & CLIENT_ATTACHED)
|
||||
c->flags |= CLIENT_EXIT;
|
||||
else if (~c->flags & CLIENT_EXIT)
|
||||
else if (~c->flags & CLIENT_EXIT) {
|
||||
if (c->flags & CLIENT_CONTROL)
|
||||
control_ready(c);
|
||||
tty_send_requests(&c->tty);
|
||||
}
|
||||
return (CMD_RETURN_NORMAL);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user