public class JnaWinSysTerminal extends AbstractWindowsTerminal
Terminal.MouseTracking, Terminal.Signal, Terminal.SignalHandlerattributes, closer, ENABLE_ECHO_INPUT, ENABLE_INSERT_MODE, ENABLE_LINE_INPUT, ENABLE_MOUSE_INPUT, ENABLE_PROCESSED_INPUT, ENABLE_QUICK_EDIT_MODE, ENABLE_WINDOW_INPUT, focusTracking, input, nativeHandlers, originalConsoleMode, output, paused, pump, reader, slaveInputPipe, tracking, TYPE_WINDOWS, TYPE_WINDOWS_256_COLOR, writer| Constructor and Description |
|---|
JnaWinSysTerminal(String name,
boolean nativeSignals) |
JnaWinSysTerminal(String name,
String type,
boolean ansiPassThrough,
Charset encoding,
int codepage,
boolean nativeSignals,
Terminal.SignalHandler signalHandler) |
| Modifier and Type | Method and Description |
|---|---|
protected int |
getConsoleMode() |
protected int |
getConsoleOutputCP() |
Cursor |
getCursorPosition(IntConsumer discarded) |
Size |
getSize() |
protected boolean |
processConsoleInput() |
protected void |
setConsoleMode(int mode) |
canPauseResume, close, ctrl, getAttributes, getEscapeSequence, getRawSequence, getSequence, handle, hasFocusSupport, input, output, pause, paused, processInputChar, processKeyEvent, pump, reader, resume, setAttributes, setSize, trackFocus, trackMouse, updateConsoleMode, writercheckInterrupted, echo, echo, echoSignal, encoding, enterRawMode, flush, getBooleanCapability, getKind, getName, getNumericCapability, getStringCapability, getType, hasMouseSupport, parseInfoCmp, puts, raise, readMouseEvent, readMouseEventpublic JnaWinSysTerminal(String name, boolean nativeSignals) throws IOException
IOExceptionpublic JnaWinSysTerminal(String name, String type, boolean ansiPassThrough, Charset encoding, int codepage, boolean nativeSignals, Terminal.SignalHandler signalHandler) throws IOException
IOExceptionprotected int getConsoleOutputCP()
getConsoleOutputCP in class AbstractWindowsTerminalprotected int getConsoleMode()
getConsoleMode in class AbstractWindowsTerminalprotected void setConsoleMode(int mode)
setConsoleMode in class AbstractWindowsTerminalpublic Size getSize()
protected boolean processConsoleInput()
throws IOException
processConsoleInput in class AbstractWindowsTerminalIOExceptionpublic Cursor getCursorPosition(IntConsumer discarded)
getCursorPosition in interface TerminalgetCursorPosition in class AbstractTerminalCopyright © 2020. All rights reserved.