3.0.1 last update: lost backslash \ (Japanese layout keyboards)
Thanks for filing an issue! Please answer the questions below so I can help you.
- iTerm2 version: 3.0.1 latest
- OS version: MacOS X 10.11.5
- Attach ~/Library/Preferences/com.googlecode.iterm2.plist here (drag-drop from finder into this window) com.googlecode.iterm2.plist
- Attach a debug log, if possible. Instructions at https://iterm2.com/debuglog debuglog.txt
- Are you reporting a performance issue? Please attach a sample. Instructions at https://gitlab.com/gnachman/iterm2/wikis/HowToSample
Detailed steps to reproduce the problem:
- Open iTerm2
- Hold Alt and press the [¥/|] key on a Japanese keyboard (the Mac's one, or an external one as well)
- Expected output: , actual output:
What should have happened: a backslash character ( \ ) appears on screen.
What happened: interestingly, I noticed multiple behaviours:
- in tmux: it outputs the yen character ( ¥ ), which is the key's expected output when no modifier is depressed
- in a simple bash prompt, it outputs an unknown character, that I pasted here: �
- but when debug log was active, and tmux running, it output nothing at all instead
Old behaviour on 3.0.0: the same key [¥/|] outputs a backslash whenever Alt modifier is depressed or not. It is thus impossible to output the expect ¥ character. I guess this behaviour is a bug too, but a lot harmless (I use \ a lot more than ¥ in a terminal context).
I'm pretty sure this change happened very recently, as I'm programming every day on this setup and make a fair use of the backslash key.
Here's a picture of a Japanese keyboard. My problem is with the key located left to the backspace key.
Temporary fix: define a key mapping in iTerm that maps Alt+¥ to "send text", value: \