Use copy-mode -et= in WheelUpPane binding, from Patrick Palka.

This commit is contained in:
nicm 2015-10-27 09:15:21 +00:00
parent 640c6fdd5f
commit 3fc001d0a2

View File

@ -227,7 +227,7 @@ key_bindings_init(void)
"bind -n WheelUpStatus previous-window",
"bind -n MouseDrag1Pane if -Ft= '#{mouse_any_flag}' 'if -Ft= \"#{pane_in_mode}\" \"copy-mode -M\" \"send-keys -M\"' 'copy-mode -M'",
"bind -n MouseDown3Pane select-pane -mt=",
"bind -n WheelUpPane if-shell -Ft= '#{mouse_any_flag}' 'send-keys -M' 'if -Ft= \"#{pane_in_mode}\" \"send-keys -M\" \"copy-mode -e\"'",
"bind -n WheelUpPane if-shell -Ft= '#{mouse_any_flag}' 'send-keys -M' 'if -Ft= \"#{pane_in_mode}\" \"send-keys -M\" \"copy-mode -et=\"'",
};
u_int i;
struct cmd_list *cmdlist;