diff options
author | Nicholas Marriott <nicm@cvs.openbsd.org> | 2015-11-05 11:05:31 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@cvs.openbsd.org> | 2015-11-05 11:05:31 +0000 |
commit | 267f735d79a6095225584c4cb541ba67357c311e (patch) | |
tree | 12805bc898e5eba90ba8b0d1a0566fa7d45f6528 /usr.bin/tmux | |
parent | 8ef0f2626b30c963f46bd96db47f6992970ef76d (diff) |
Pass through right click if mouse is on, from Patrick Palka.
Diffstat (limited to 'usr.bin/tmux')
-rw-r--r-- | usr.bin/tmux/key-bindings.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/tmux/key-bindings.c b/usr.bin/tmux/key-bindings.c index df15ee686e7..8348ff006e5 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.53 2015/10/27 09:15:21 nicm Exp $ */ +/* $OpenBSD: key-bindings.c,v 1.54 2015/11/05 11:05:30 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> @@ -226,7 +226,7 @@ key_bindings_init(void) "bind -n WheelDownStatus next-window", "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 MouseDown3Pane if-shell -Ft= '#{mouse_any_flag}' 'select-pane -t=; send-keys -M' '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 -et=\"'", }; u_int i; |