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