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