public class JansiWinSysTerminal 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, lock, nativeHandlers, originalConsoleMode, output, paused, pump, reader, slaveInputPipe, tracking, TYPE_WINDOWS, TYPE_WINDOWS_256_COLOR, writer| Constructor and Description |
|---|
JansiWinSysTerminal(String name,
boolean nativeSignals) |
JansiWinSysTerminal(String name,
String type,
boolean ansiPassThrough,
Charset encoding,
int codepage,
boolean nativeSignals,
Terminal.SignalHandler signalHandler) |
| Modifier and Type | Method and Description |
|---|---|
void |
disableScrolling() |
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, 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 JansiWinSysTerminal(String name, boolean nativeSignals) throws IOException
IOExceptionpublic JansiWinSysTerminal(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 AbstractTerminalpublic void disableScrolling()
Copyright © 2020. All rights reserved.