Re: [PATCH] Keep client when attaching in a "child" cmdq

2013-10-01 Thread Nicholas Marriott
Applied, thanks. On Mon, Sep 23, 2013 at 03:02:55PM -0500, Chris Johnsen wrote: > With tmux 1.7, when a client executes a 'source-file' command that > includes a 'new-session' or an 'attach-session' command, the client will > end up attached. > > After the cmdq revamp, such a client always exits

[PATCH] Keep client when attaching in a "child" cmdq

2013-09-23 Thread Chris Johnsen
With tmux 1.7, when a client executes a 'source-file' command that includes a 'new-session' or an 'attach-session' command, the client will end up attached. After the cmdq revamp, such a client always exits after 'source-file' finishes. The "attaching commands" set cmdq->client_exit to 0, but, whe