Profile left/right option keys seem to be swapped when option and command modifiers are remapped at OS level
Detailed steps to reproduce the problem:
- Use a keyboard layout that utilises
option
key as modifier to enter special characters. In my case, it's thePolish Pro
layout. - Swap
command
andoption
modifiers in System Preferences, like this. - Launch iTerm, go to
Preferences > Profiles > Keys
. Selectleft ⌥
asEsc+
andright ⌥
asNormal
, like this. - Try typing some Polish letters (eg
⌥ + l
to getł
), using right modifier in an iTerm window using this profile.
What should have happened: I should get Polish characters with right modifier.
What happens instead:
I get Esc+
functionality with RIGHT modifier, and Polish characters with LEFT modifier. This is exactly the opposite of what has been configured. If you don't swap the modifiers (step 2. above), Left
and Right
settings in Profile > Keys
are working correctly. This bug happens only if you swap the modifiers at OS level.
- iTerm2 version: 3.1.5
- OS version: 10.13.3
- com.googlecode.iterm2.plist
- debuglog.txt