For reference: Here is Windows 7 cmd prompt with Japanese input.
Here is cloud 9 terminal:
It seems like after every key press, the terminal is grabbing the queued Japanese text (before confirming with Enter) and inputting it.
In both examples I typed “asasasasa” which should create one “a” symbol あ and repeated “sa” symbols さ… This is the behavior in cmd.
I think one way to solve this is similar to codeanywhere:
Notice how when I move the cursor to the terminal, the Japanese IME switcher indents all the buttons, which means I am forced into typing English and can not switch to Japanese.
This is fine for most Japanese, as terminal cmds rarely use Japanese, and we usually name source files in English to prevent compile errors and encoding errors on different systems.
It’s kind of annoying that when I am typing a Japanese comment on some source file and I switch over to terminal and forget to switch to english, I have to take a few seconds deleting the long string of nonsense Japanese, then switch back to English and retype it.