Mouse offset when using vim with multiple splits. Clicking on a pane in one place selects a pane in another place.
Thanks for filing an issue! Please answer the questions below so I can help you.
- iTerm2 version: 3.0.10
- OS version: Mac OSX 10.10.5
- com.googlecode.iterm2.plist*
Detailed steps to reproduce the problem:
- Open vim in terminal mode
- Type in command mode (:set mouse=a)
- Open a few panes (in command mode, type ":vsplit" and ":split")
- Resize iTerm2 to full screen, then resize to a different size, cycle a few times
- Click on one of the panes open in vim, and then type "i" to enter insert mode and start typing, note where you clicked, and where text is appearing (especially bad on vertical splits)
What happened: Wrong pane in vim is selected, left-most panes cannot be selected with the mouse
What should have happened: The pane clicked on should have been selected.