Fix literal tab key

Broken since 31d6a70d.
This commit is contained in:
Jules Aguillon 2022-10-16 00:04:06 +02:00
parent db347c665c
commit 138e59f13a

View File

@ -145,6 +145,7 @@ class KeyModifier
case KeyEvent.KEYCODE_DPAD_LEFT: return "home"; case KeyEvent.KEYCODE_DPAD_LEFT: return "home";
case KeyEvent.KEYCODE_DPAD_RIGHT: return "end"; case KeyEvent.KEYCODE_DPAD_RIGHT: return "end";
case KeyEvent.KEYCODE_ESCAPE: return "insert"; case KeyEvent.KEYCODE_ESCAPE: return "insert";
case KeyEvent.KEYCODE_TAB: return "\\t";
default: return null; default: return null;
} }
} }
@ -242,7 +243,6 @@ class KeyModifier
case '⊃': return ""; case '⊃': return "";
case '±': return ""; case '±': return "";
// other // other
case '\t': return "\\t";
case ' ': return "nbsp"; case ' ': return "nbsp";
default: return null; default: return null;
} }