Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Use handleEvent instead of interpretKeyEvents. #202
This patch is related with https://code.google.com/p/iterm2/issues/detail?id=2629 but not same.
What steps will reproduce the problem?
What is the expected output?
The [A] icon with orange background is displayed at the location by the cursor in an iTerm window, and any characters are not inputted in the iTerm window.
What do you see instead?
The [あ] icon with orange background is displayed at the location by the cursor in an iTerm window, and a newline character is inputted in the iTerm window.
What OS version are you using?
MacOS X 10.10.2
Because some IME(e.g. AquaSKK) consume event without insert any text,
So, we need use handleEvent instead of interpretKeyEvents.
I have to warn you that this is going to be a very hard change to do correctly. This code is very complex.
I don't know why, but as written, it breaks key repeat. If you press and hold "x" (as an example) with a US keyboard,