aboutsummaryrefslogtreecommitdiff
path: root/key-bindings.c
diff options
context:
space:
mode:
authorThomas Adam <thomas@xteddy.org>2015-11-05 12:01:08 +0000
committerThomas Adam <thomas@xteddy.org>2015-11-05 12:01:08 +0000
commit896581628dc53556861b63f2cb4094a48f9eaf94 (patch)
tree956fbec4f69fae1282c89330602ff7219b643b2d /key-bindings.c
parent696826913cef831f71cd7ce497720f7ebbc333f3 (diff)
parent5577535891e709f87f88311a1adef55dd6c6de85 (diff)
downloadrtmux-896581628dc53556861b63f2cb4094a48f9eaf94.tar.gz
rtmux-896581628dc53556861b63f2cb4094a48f9eaf94.tar.bz2
rtmux-896581628dc53556861b63f2cb4094a48f9eaf94.zip
Merge branch 'obsd-master'
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 e12dd62c..83b94ac1 100644
--- a/key-bindings.c
+++ b/key-bindings.c
@@ -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;