Semicolon ';' recognized as a plus sign '+' when setting key binding from Japanese keyboard layout.
- iTerm2 version:3.3.9
- OS version: macOS Catalina 10.15.2
- com.googlecode.iterm2.plist
Detailed steps to reproduce the problem:
- Make sure your keyboard is in a JIS layout.
- Preferences > Key Bindings > + button to add new Key Combination > Record cmd + shift + ;
- During the recording, semicolon shows up properly. But once you click "OK",
;
turns into+
and is recorded as a key binding. - This happens whether the
Emulate U.S. Keyboard
option is enabled or not.
What happened:
JIS keyboard has a different layout from the U.S. (ANSI) keyboard layout.
; and + share the same key. So to input +
you need to press shift + ;
.
It seems that this caused a problem when recording the shortcut.
What should have happened: It should properly recognize semicolon and not turn it into a plus sign.