summaryrefslogtreecommitdiffstats
path: root/key-bindings.c
diff options
context:
space:
mode:
authornicm <nicm>2015-10-27 09:15:21 +0000
committernicm <nicm>2015-10-27 09:15:21 +0000
commit3fc001d0a2e2456fb266f689964fe116d58c2227 (patch)
tree321e36c3372a4754fa322878322a5f6bfeb02285 /key-bindings.c
parent640c6fdd5fd859cffecf461647440a437d25f879 (diff)
Use copy-mode -et= in WheelUpPane binding, from Patrick Palka.
Diffstat (limited to 'key-bindings.c')
-rw-r--r--key-bindings.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/key-bindings.c b/key-bindings.c
index 2d739e84..e12dd62c 100644
--- a/key-bindings.c
+++ b/key-bindings.c
@@ -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;