From c5a147a122c4ca2c8bf2e6e1bb66dcaca6e6fa4b Mon Sep 17 00:00:00 2001 From: nicm Date: Tue, 27 Oct 2015 09:15:21 +0000 Subject: [PATCH] Use copy-mode -et= in WheelUpPane binding, from Patrick Palka. --- usr.bin/tmux/key-bindings.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/usr.bin/tmux/key-bindings.c b/usr.bin/tmux/key-bindings.c index 59ae1389706..df15ee686e7 100644 --- a/usr.bin/tmux/key-bindings.c +++ b/usr.bin/tmux/key-bindings.c @@ -1,4 +1,4 @@ -/* $OpenBSD: key-bindings.c,v 1.52 2015/10/26 23:06:18 nicm Exp $ */ +/* $OpenBSD: key-bindings.c,v 1.53 2015/10/27 09:15:21 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott @@ -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; -- 2.20.1