diff options
author | Nicholas Marriott <nicm@cvs.openbsd.org> | 2017-04-22 08:56:25 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@cvs.openbsd.org> | 2017-04-22 08:56:25 +0000 |
commit | c6049a4914a501d83cb431b03c6336a50cded0ea (patch) | |
tree | 2c149daaa19c4c9a46e4eca94829bd1f38949557 /share/tabset | |
parent | e237049fb8cc194c517234892690b5dd0dd8c2e9 (diff) |
Mouse bindings and hooks set up an initial current state when running a
command. This is used for the session, window and pane for all commands
in the command sequence if there is no -t or -s.
However, using it for all commands in the command sequence means that if
the active pane or current session is changed, subsequent commands still
use the previous state. So make commands which explicitly change the
current state (such as neww and selectp) update it themselves for later
commands. Commands which may invalidate the state (like killp) are
already OK because an invalid state will be ignored.
Also fill in the current state for all key bindings rather than just the
mouse, so that any omissions are easier to spot.
Diffstat (limited to 'share/tabset')
0 files changed, 0 insertions, 0 deletions