cmd-tab sends ^[[O and ^]]I to terminal
By ...@ant.org on May 01, 2014 21:36 (imported from Google Code)
When iterm2 has focus and I use cmd-tab to switch to another macosx app, eg chrome, the terminal receives ^[[O. When I switch back again, it receives ^[[I. Often this goes unnoticed, but if I have a vim session or something open it messes everything right up.
This is driving me up the wall, is there any way to disable it? This behaviour emerged a couple of releases back.
cheers
ant
What steps will reproduce the problem?
- open iterm, start remote vim
- cmd-tab to finder
- cmd-tab back to iterm
What is the expected output?
Nothing at all.
What do you see instead?
Vim doing something bizarre like showing a buffer list or complaining about "no identifier under cursor" - whatever behaviour ^[[I and ^[[O elicits, basically.
What version of iTerm2 are you using?
Build 1.0.0.20140421
What OS version are you using?
10.9.2
Please provide any additional information below.