Package org.jline.terminal.spi
Interface TerminalExt
- All Superinterfaces:
AutoCloseable,Closeable,Flushable,Terminal
- All Known Implementing Classes:
AbstractPosixTerminal,AbstractTerminal,AbstractWindowsTerminal,DumbTerminal,ExternalTerminal,JansiWinSysTerminal,JnaWinSysTerminal,LineDisciplineTerminal,NativeWinSysTerminal,NativeWinSysTerminal,PosixPtyTerminal,PosixSysTerminal
The
TerminalExt interface is implemented by Terminals
and provides access to the Terminal's internals.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.jline.terminal.Terminal
Terminal.MouseTracking, Terminal.Signal, Terminal.SignalHandler -
Field Summary
Fields inherited from interface org.jline.terminal.Terminal
TYPE_DUMB, TYPE_DUMB_COLOR -
Method Summary
Modifier and TypeMethodDescriptionReturns theTerminalProviderthat created this terminal ornullif the terminal was created with no provider.The underlying system stream, may beSystemStream.Output,SystemStream.Error, ornullif this terminal is not bound to a system stream.Methods inherited from interface org.jline.terminal.Terminal
canPauseResume, echo, echo, encoding, enterRawMode, flush, getAttributes, getBooleanCapability, getBufferSize, getCursorPosition, getHeight, getName, getNumericCapability, getPalette, getSize, getStringCapability, getType, getWidth, handle, hasFocusSupport, hasMouseSupport, input, output, pause, pause, paused, puts, raise, reader, readMouseEvent, readMouseEvent, resume, setAttributes, setSize, trackFocus, trackMouse, writer
-
Method Details
-
getProvider
TerminalProvider getProvider()Returns theTerminalProviderthat created this terminal ornullif the terminal was created with no provider. -
getSystemStream
SystemStream getSystemStream()The underlying system stream, may beSystemStream.Output,SystemStream.Error, ornullif this terminal is not bound to a system stream.
-