@Override public void setApplicationArrowKeys(boolean enabled) { if (enabled) { myTerminalKeyEncoder.arrowKeysApplicationSequences(); } else { myTerminalKeyEncoder.arrowKeysAnsiCursorSequences(); } }
@Override public void setApplicationKeypad(boolean enabled) { if (enabled) { myTerminalKeyEncoder.keypadApplicationSequences(); } else { myTerminalKeyEncoder.keypadAnsiSequences(); } }
@Override public void setAutoNewLine(boolean enabled) { myTerminalKeyEncoder.setAutoNewLine(enabled); }
@Override public byte[] getCodeForKey(int key) { return myTerminalKeyEncoder.getCode(key); }