PTYTextView mishandles key events consumed by input methods.
By mura... on October 31, 2010 01:12 (imported from Google Code)
When key events consumed by input methods in interpretKeyEvents method,
doCommandBySelector method isn't called by the input methods.
Now implementation of key event handlings of PTYTextView is incorrect
because all key events are delegated after calling interpretKeyEvents
although they consumed by input methods.
What steps will reproduce the problem?
--
- Install AquaSKK.
- Give focus a window of iTerm2 and make AquaSKK enable.
- Press C-j to turn on Japanese input mode.
What is the expected output?
--
The [あ] 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 version of the product are you using?
--
revision 275.
On what operating system?
--
Mac OS X 10.6.4
Please provide any additional information below.
--
An attached patch resolves this problem.