Sorry, forgot to attach a simple patch to fix this:

diff --git a/input-keys.c b/input-keys.c
index 7531f22..4c4da91 100644
--- a/input-keys.c
+++ b/input-keys.c
@@ -259,7 +259,7 @@ input_mouse(struct window_pane *wp, struct session *s, 
struct mouse_event *m)
                        paste_send_pane(pb, wp, "\r",
                            wp->screen->mode & MODE_BRACKETPASTE);
                }
-       } else if (m->button != 1 &&
+       } else if ((m->button != 1 || m->event == MOUSE_EVENT_WHEEL) &&
            options_get_number(&wp->window->options, "mode-mouse") == 1) {
                if (window_pane_set_mode(wp, &window_copy_mode) == 0) {
                        window_copy_init_from_pane(wp);

-- 
Balazs

------------------------------------------------------------------------------
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.
Get unparalleled scalability from the best Selenium testing platform available
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs
_______________________________________________
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users

Reply via email to