Add an option to disable focus loggin [was: Focus reporting and zsh]

By grisha.push... on January 19, 2015 08:09 (imported from Google Code)


This problem has been already mentioned in these issues:
(1) https://code.google.com/p/iterm2/issues/detail?id=2954&can=1&q=O
(2) https://code.google.com/p/iterm2/issues/detail?id=2997&can=1&q=O
(3) https://code.google.com/p/iterm2/issues/detail?id=3230&can=1&q=O

So I get ^[[O on focus out and ^[[O on focus in, executing
> $ cat

Vim has this problems too, but without these characters displayed.

And strange thing begin with following facts:

  1. I am using zsh and when I am changing shell to bash - problem disappears.
  2. In Terminal.app and zsh as shell I do not have this problem too.
  3. After cmd+r all goes well.
  4. I have been experiencing this problem since Yosemite release.

com.googlecode.iterm2.plist