public abstract class InputEnabledAbstractTerminal extends AbstractTerminal implements InputProvider
InputProvider.Terminal.Color, Terminal.ResizeListener, Terminal.SGR| Constructor and Description |
|---|
InputEnabledAbstractTerminal(InputDecoder inputDecoder) |
| Modifier and Type | Method and Description |
|---|---|
void |
addInputProfile(KeyMappingProfile profile)
Adds a KeyMappingProfile to be used when converting raw user input bytes
to
Key objects. |
Key |
readInput()
Returns the next
Key off the input queue or null if there is none
more input events available |
protected TerminalSize |
waitForTerminalSizeReport(int timeoutMs) |
addResizeListener, getLastKnownSize, onResized, removeResizeListenerclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitapplyBackgroundColor, applyBackgroundColor, applyBackgroundColor, applyForegroundColor, applyForegroundColor, applyForegroundColor, applySGR, clearScreen, enterPrivateMode, exitPrivateMode, flush, getTerminalSize, moveCursor, putCharacter, queryTerminalSize, setCursorVisiblepublic InputEnabledAbstractTerminal(InputDecoder inputDecoder)
public void addInputProfile(KeyMappingProfile profile)
InputProviderKey objects.addInputProfile in interface InputProviderKeyMappingProfileprotected TerminalSize waitForTerminalSizeReport(int timeoutMs)
public Key readInput()
InputProviderKey off the input queue or null if there is none
more input events availablereadInput in interface InputProviderKey off the input queue or null if there is noneCopyright © 2015. All Rights Reserved.