Bind mouse dragging so that it is passed through to applications if they

want it rather than entering copy mode.
This commit is contained in:
nicm
2015-04-21 15:34:32 +00:00
parent 4cf4302962
commit d1337053b6
2 changed files with 5 additions and 2 deletions

View File

@ -221,7 +221,7 @@ key_bindings_init(void)
"bind -n MouseDown1Pane select-pane -t=\\; send-keys -M",
"bind -n MouseDrag1Border resize-pane -M",
"bind -n MouseDown1Status select-window -t=",
"bind -n MouseDrag1Pane copy-mode -M",
"bind -n MouseDrag1Pane if -Ft= '#{mouse_any_flag}' 'if -Ft= \"#{pane_in_mode}\" \"copy-mode -M\" \"send-keys -M\"' 'copy-mode -M'",
};
u_int i;
struct cmd_list *cmdlist;