Fixed iterm2 support.