Ignore some Japanese key

This commit is contained in:
fuenor 2015-03-02 19:18:27 +09:00 committed by binkybear
parent 229fefdcbd
commit 473148c733

View File

@ -663,6 +663,14 @@ class TermKeyListener {
}
public boolean handleKeyCode(int keyCode, KeyEvent event, boolean appMode) throws IOException {
if (keyCode == 95 || keyCode == 211 || keyCode == 212) {
// SWITCH_CHARSET, ZENKAKU_HANKAKU, EISU
return true;
}
if (keyCode >= 213 && keyCode <= 215) {
// ignore HENKAN, MUHENKAN, KATAKANA_HIRAGANA
return true;
}
String code = null;
if (event != null) {
int keyMod = 0;