commit | 6f417ec9438de4440522483be02c51803d628313 | [log] [download] |
---|---|---|
author | nicm <nicm> | Tue Dec 15 00:45:02 2015 +0000 |
committer | nicm <nicm> | Tue Dec 15 00:45:02 2015 +0000 |
tree | 28555be0cf40ce351c954a902b13c5bd072dc201 | |
parent | 56d097cfe053f6cd50db9607503c25a80e3cd989 [diff] |
We changed somewhat recently to us the pty when tmux was run inside itself to work out the current pane. This is confusing in many cases (particularly notable is that "tmux neww\; splitw" would not split the new window), and the few advantages do not make up for the confusion. So drop this behaviour and return to using the current window and pane; keep the pty check but only use it to limit the list of possible current sessions.