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
,NativeWinSysTerminalPREVIEW
,NativeWinSysTerminal
,PosixPtyTerminal
,PosixSysTerminal
The
TerminalExt
interface is implemented by Terminal
s
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 theTerminalProvider
that created this terminal ornull
if the terminal was created with no provider.The underlying system stream, may beSystemStream.Output
,SystemStream.Error
, ornull
if 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 theTerminalProvider
that created this terminal ornull
if the terminal was created with no provider. -
getSystemStream
SystemStream getSystemStream()The underlying system stream, may beSystemStream.Output
,SystemStream.Error
, ornull
if this terminal is not bound to a system stream.
-