Uses of Interface
org.jline.terminal.Terminal
Packages that use Terminal
Package
Description
JLine Terminal API - Core abstractions for terminal operations across different platforms.
JLine Terminal implementation classes.
Implementation of terminal functionality using external command-line utilities.
JLine Terminal Service Provider Interface (SPI).
JLine utility classes.
-
Uses of Terminal in org.jline.jansi
Methods in org.jline.jansi that return TerminalMethods in org.jline.jansi with parameters of type Terminal -
Uses of Terminal in org.jline.terminal
Methods in org.jline.terminal that return TerminalModifier and TypeMethodDescriptionTerminalBuilder.build()Builds the terminal.static TerminalTerminalBuilder.terminal()Returns the default system terminal with automatic configuration.Methods in org.jline.terminal with parameters of type TerminalModifier and TypeMethodDescriptionstatic voidTerminalBuilder.setTerminalOverride(Terminal terminal) Deprecated. -
Uses of Terminal in org.jline.terminal.impl
Classes in org.jline.terminal.impl that implement TerminalModifier and TypeClassDescriptionclassBase implementation for terminals on POSIX-compliant systems.classBase implementation of the Terminal interface.classAbstractWindowsTerminal<Console>Base implementation for terminals on Windows systems.classA minimal terminal implementation with limited capabilities.classTerminal implementation designed for external connections with embedded line discipline.classAbstract terminal with support for line discipline.classTerminal implementation for POSIX systems using a pseudoterminal (PTY).classTerminal implementation for POSIX systems using system streams.Methods in org.jline.terminal.impl that return TerminalModifier and TypeMethodDescriptionDumbTerminalProvider.newTerminal(String name, String type, InputStream masterInput, OutputStream masterOutput, Charset encoding, Terminal.SignalHandler signalHandler, boolean paused, Attributes attributes, Size size) DumbTerminalProvider.sysTerminal(String name, String type, boolean ansiPassThrough, Charset encoding, boolean nativeSignals, Terminal.SignalHandler signalHandler, boolean paused, SystemStream systemStream) Methods in org.jline.terminal.impl with parameters of type TerminalModifier and TypeMethodDescriptionstatic CursorCursorSupport.getCursorPosition(Terminal terminal, IntConsumer discarded) Gets the current cursor position from the terminal.static booleanMouseSupport.hasMouseSupport(Terminal terminal) Checks if the terminal supports mouse tracking.static String[]Returns a list of key sequences that could be used for mouse events, including the terminal's key_mouse capability if available.static MouseEventMouseSupport.readMouse(Terminal terminal, MouseEvent last) Reads a mouse event from the terminal.static MouseEventMouseSupport.readMouse(Terminal terminal, MouseEvent last, String prefix) Reads a mouse event from the terminal with a prefix that has already been consumed.static booleanMouseSupport.trackMouse(Terminal terminal, Terminal.MouseTracking tracking) Enables or disables mouse tracking in the terminal. -
Uses of Terminal in org.jline.terminal.impl.exec
Methods in org.jline.terminal.impl.exec that return TerminalModifier and TypeMethodDescriptionExecTerminalProvider.newTerminal(String name, String type, InputStream in, OutputStream out, Charset encoding, Terminal.SignalHandler signalHandler, boolean paused, Attributes attributes, Size size) Creates a new terminal with custom input and output streams.ExecTerminalProvider.posixSysTerminal(String name, String type, boolean ansiPassThrough, Charset encoding, boolean nativeSignals, Terminal.SignalHandler signalHandler, boolean paused, SystemStream systemStream) Creates a terminal connected to a system stream on POSIX systems.ExecTerminalProvider.sysTerminal(String name, String type, boolean ansiPassThrough, Charset encoding, boolean nativeSignals, Terminal.SignalHandler signalHandler, boolean paused, SystemStream systemStream) Creates a terminal connected to a system stream.ExecTerminalProvider.winSysTerminal(String name, String type, boolean ansiPassThrough, Charset encoding, boolean nativeSignals, Terminal.SignalHandler signalHandler, boolean paused, SystemStream systemStream) Creates a terminal connected to a system stream on Windows. -
Uses of Terminal in org.jline.terminal.impl.jni
Methods in org.jline.terminal.impl.jni that return TerminalModifier and TypeMethodDescriptionJniTerminalProvider.newTerminal(String name, String type, InputStream in, OutputStream out, Charset encoding, Terminal.SignalHandler signalHandler, boolean paused, Attributes attributes, Size size) JniTerminalProvider.posixSysTerminal(String name, String type, boolean ansiPassThrough, Charset encoding, boolean nativeSignals, Terminal.SignalHandler signalHandler, boolean paused, SystemStream systemStream) JniTerminalProvider.sysTerminal(String name, String type, boolean ansiPassThrough, Charset encoding, boolean nativeSignals, Terminal.SignalHandler signalHandler, boolean paused, SystemStream systemStream) JniTerminalProvider.winSysTerminal(String name, String type, boolean ansiPassThrough, Charset encoding, boolean nativeSignals, Terminal.SignalHandler signalHandler, boolean paused, SystemStream systemStream) -
Uses of Terminal in org.jline.terminal.impl.jni.win
Classes in org.jline.terminal.impl.jni.win that implement Terminal -
Uses of Terminal in org.jline.terminal.spi
Subinterfaces of Terminal in org.jline.terminal.spiModifier and TypeInterfaceDescriptioninterfaceExtended Terminal interface that provides access to internal implementation details.Methods in org.jline.terminal.spi that return TerminalModifier and TypeMethodDescriptionTerminalProvider.newTerminal(String name, String type, InputStream masterInput, OutputStream masterOutput, Charset encoding, Terminal.SignalHandler signalHandler, boolean paused, Attributes attributes, Size size) Creates a new terminal with custom input and output streams.TerminalProvider.sysTerminal(String name, String type, boolean ansiPassThrough, Charset encoding, boolean nativeSignals, Terminal.SignalHandler signalHandler, boolean paused, SystemStream systemStream) Creates a terminal connected to a system stream. -
Uses of Terminal in org.jline.utils
Fields in org.jline.utils declared as TerminalModifier and TypeFieldDescriptionprotected final TerminalDisplay.terminalprotected final TerminalStatus.terminalMethods in org.jline.utils with parameters of type TerminalModifier and TypeMethodDescriptionstatic AttributedStringCreates an AttributedString from an ANSI-encoded string, using terminal capabilities.Status.getExistingStatus(Terminal terminal) static Statusstatic StatusvoidPrints this attributed string to the specified terminal.voidPrints this attributed string to the specified terminal, followed by a line break.Converts this attributed string to an ANSI escape sequence string appropriate for the specified terminal.Constructors in org.jline.utils with parameters of type TerminalModifierConstructorDescriptionColorPalette(Terminal terminal) ColorPalette(Terminal terminal, String distance)