middle mouse button paste in tmux not working
By lees.jo... on February 11, 2014 13:21 (imported from Google Code)
What steps will reproduce the problem?
- brew install tmux (if not already installed), or tmux kill-server
- add to ~/.tmux.conf:
set -g mode-mouse on
setw -g mouse-select-window on
setw -g mouse-select-pane on - tmux
- hold down option (left-alt) and select some text with the mouse
- press the middle mouse button (with and without holding down option)
What is the expected output?
The selected text should be copied to the clipboard (which it is), and then pasted when pressing option+middle mouse
What do you see instead?
The middle mouse button does nothing when option is held down, and the contents of the clipboard is not pasted
What version of iTerm2 are you using?
Build 1.0.0.20140112
What OS version are you using?
OS X 10.8.5 build 12F45
Please provide any additional information below.
I suspect the issue might be similar to one reported (and fixed) in Konsole: https://bugs.kde.org/show_bug.cgi?id=299437
Summary of fix: Do not forward the button release event when option is also pressed.