Index
All Classes and Interfaces|All Packages|Constant Field Values
A
- AbstractPosixTerminal - Class in org.aesh.terminal.tty.impl
-
Abstract base class for POSIX-compliant terminal implementations using PTY.
- AbstractPosixTerminal(String, String, Pty) - Constructor for class org.aesh.terminal.tty.impl.AbstractPosixTerminal
-
Creates a new POSIX terminal with the specified name, type, and PTY.
- AbstractTerminal - Class in org.aesh.terminal.tty.impl
-
Abstract base class providing common functionality for terminal implementations.
- AbstractTerminal(String, String) - Constructor for class org.aesh.terminal.tty.impl.AbstractTerminal
-
Creates a new terminal with the specified name and type using default signal handling.
- AbstractTerminal(String, String, Terminal.SignalHandler) - Constructor for class org.aesh.terminal.tty.impl.AbstractTerminal
-
Creates a new terminal with the specified name, type, and signal handler.
- add(T) - Static method in class org.aesh.terminal.tty.utils.ShutdownHooks
-
Adds a task to be executed on JVM shutdown.
- addAllCapabilityBooleans(Set<Capability>) - Method in class org.aesh.terminal.tty.TerminalDevice
-
Add all boolean capabilities from a set.
- addAllCapabilityInts(Map<Capability, Integer>) - Method in class org.aesh.terminal.tty.TerminalDevice
-
Add all integer capabilities from a map.
- addAllCapabilityStrings(Map<Capability, String>) - Method in class org.aesh.terminal.tty.TerminalDevice
-
Add all string capabilities from a map.
- addCapability(Capability) - Method in class org.aesh.terminal.tty.TerminalDevice
-
Add a boolean capability.
- addCapability(Capability, Integer) - Method in class org.aesh.terminal.tty.TerminalDevice
-
Add an integer capability.
- addCapability(Capability, String) - Method in class org.aesh.terminal.tty.TerminalDevice
-
Add a string capability.
- AnimatedAsciiExample - Class in org.aesh.terminal.tty.example
-
Example application demonstrating animated ASCII art using terminal-api and terminal-tty.
- AnimatedAsciiExample() - Constructor for class org.aesh.terminal.tty.example.AnimatedAsciiExample
-
Creates a new AnimatedAsciiExample instance.
- AsciiArtExample - Class in org.aesh.terminal.tty.example
-
Example application demonstrating terminal-api and terminal-tty usage.
- AsciiArtExample() - Constructor for class org.aesh.terminal.tty.example.AsciiArtExample
-
Creates a new AsciiArtExample instance.
- attributes - Variable in class org.aesh.terminal.tty.impl.WinSysTerminal
-
Terminal attributes.
- attributes - Variable in class org.aesh.terminal.tty.impl.LineDisciplineTerminal
-
Terminal attributes.
- awake() - Method in class org.aesh.terminal.tty.TerminalConnection
-
Resumes reading from the terminal input stream after a suspend.
B
- build() - Method in class org.aesh.terminal.tty.DeviceBuilder
-
Builds and returns a new TerminalDevice with the configured settings.
- build() - Method in class org.aesh.terminal.tty.TerminalBuilder
-
Builds and returns a Terminal instance with the configured settings.
- builder() - Static method in class org.aesh.terminal.tty.DeviceBuilder
-
Creates a new DeviceBuilder instance.
- builder() - Static method in class org.aesh.terminal.tty.TerminalBuilder
-
Creates a new TerminalBuilder instance.
C
- clearCache() - Static method in class org.aesh.terminal.tty.TerminalColorDetector
-
Clear the cached color capability.
- close() - Method in class org.aesh.terminal.tty.impl.AbstractPosixTerminal
- close() - Method in class org.aesh.terminal.tty.impl.WinSysTerminal
- close() - Method in class org.aesh.terminal.tty.impl.CygwinPty
- close() - Method in class org.aesh.terminal.tty.impl.ExecPty
- close() - Method in class org.aesh.terminal.tty.impl.ExternalTerminal
-
Closes this terminal and releases any associated resources.
- close() - Method in class org.aesh.terminal.tty.impl.LineDisciplineTerminal
- close() - Method in class org.aesh.terminal.tty.impl.PosixSysTerminal
- close() - Method in class org.aesh.terminal.tty.TerminalConnection
- closer - Variable in class org.aesh.terminal.tty.impl.WinSysTerminal
-
Shutdown hook task for cleanup.
- closer - Variable in class org.aesh.terminal.tty.impl.PosixSysTerminal
-
Shutdown hook task for cleanup.
- closeSlaveInputPipe() - Method in class org.aesh.terminal.tty.impl.LineDisciplineTerminal
-
Close the slave input pipe.
- console() - Static method in class org.aesh.terminal.tty.TerminalBuilder
-
Creates and returns a default system Terminal.
- ctrl(char) - Method in class org.aesh.terminal.tty.impl.WinSysTerminal
-
Convert a character to its control code equivalent.
- current() - Static method in class org.aesh.terminal.tty.impl.CygwinPty
-
Returns the PTY for the current terminal.
- current() - Static method in class org.aesh.terminal.tty.impl.ExecPty
-
Returns the PTY for the current terminal.
- CygwinPty - Class in org.aesh.terminal.tty.impl
-
PTY implementation for Cygwin environments on Windows.
- CygwinPty(String) - Constructor for class org.aesh.terminal.tty.impl.CygwinPty
-
Constructs a CygwinPty with the specified TTY name.
D
- detect(Connection) - Static method in class org.aesh.terminal.tty.TerminalColorDetector
-
Detect terminal color capabilities using all available methods.
- detect(Connection, boolean) - Static method in class org.aesh.terminal.tty.TerminalColorDetector
-
Detect terminal color capabilities.
- detectCached(Connection) - Static method in class org.aesh.terminal.tty.TerminalColorDetector
-
Detect terminal color capabilities using cached result if available.
- detectColorDepth(Connection) - Static method in class org.aesh.terminal.tty.TerminalColorDetector
-
Detect only the color depth without querying the terminal for colors.
- detectFast(Connection) - Static method in class org.aesh.terminal.tty.TerminalColorDetector
-
Get a fast, non-blocking color capability based only on environment detection (no terminal queries).
- detectThemeFromEnvironment() - Static method in class org.aesh.terminal.tty.TerminalColorDetector
-
Detect terminal theme from environment variables.
- device - Variable in class org.aesh.terminal.tty.impl.AbstractTerminal
-
The device capabilities for this terminal.
- device() - Method in class org.aesh.terminal.tty.impl.AbstractTerminal
- device() - Method in class org.aesh.terminal.tty.TerminalConnection
- DeviceBuilder - Class in org.aesh.terminal.tty
-
Builder for creating TerminalDevice instances with terminal capabilities.
- doGetConfig() - Method in class org.aesh.terminal.tty.impl.CygwinPty
-
Retrieves the terminal configuration using the stty command.
- doGetConfig() - Method in class org.aesh.terminal.tty.impl.ExecPty
-
Retrieves the terminal configuration using the stty command.
E
- echo() - Method in class org.aesh.terminal.tty.impl.AbstractTerminal
- echo(boolean) - Method in class org.aesh.terminal.tty.impl.AbstractTerminal
- echoSignal(Signal) - Method in class org.aesh.terminal.tty.impl.AbstractTerminal
-
Echoes the control character representation of a signal to the terminal output.
- ENABLE_ECHO_INPUT - Static variable in class org.aesh.terminal.tty.impl.WinSysTerminal
-
Enable echo input mode.
- ENABLE_INSERT_MODE - Static variable in class org.aesh.terminal.tty.impl.WinSysTerminal
-
Enable insert mode.
- ENABLE_LINE_INPUT - Static variable in class org.aesh.terminal.tty.impl.WinSysTerminal
-
Enable line input mode.
- ENABLE_MOUSE_INPUT - Static variable in class org.aesh.terminal.tty.impl.WinSysTerminal
-
Enable mouse input mode.
- ENABLE_PROCESSED_INPUT - Static variable in class org.aesh.terminal.tty.impl.WinSysTerminal
-
Enable processed input mode.
- ENABLE_QUICK_EDIT_MODE - Static variable in class org.aesh.terminal.tty.impl.WinSysTerminal
-
Enable quick edit mode.
- ENABLE_WINDOW_INPUT - Static variable in class org.aesh.terminal.tty.impl.WinSysTerminal
-
Enable window input mode.
- ExecPty - Class in org.aesh.terminal.tty.impl
-
PTY implementation that uses external commands (stty, tty) to interact with the terminal.
- ExecPty(String) - Constructor for class org.aesh.terminal.tty.impl.ExecPty
-
Constructs an ExecPty with the specified TTY name.
- ExternalTerminal - Class in org.aesh.terminal.tty.impl
-
Console implementation with embedded line disciplined.
- ExternalTerminal(String, String, InputStream, OutputStream) - Constructor for class org.aesh.terminal.tty.impl.ExternalTerminal
-
Constructs an ExternalTerminal with the specified parameters.
G
- getAttr() - Method in class org.aesh.terminal.tty.impl.CygwinPty
- getAttr() - Method in class org.aesh.terminal.tty.impl.ExecPty
- getAttr() - Method in interface org.aesh.terminal.tty.impl.Pty
-
Returns the current terminal attributes.
- getAttributes() - Method in class org.aesh.terminal.tty.impl.AbstractPosixTerminal
- getAttributes() - Method in class org.aesh.terminal.tty.impl.WinSysTerminal
- getAttributes() - Method in class org.aesh.terminal.tty.impl.LineDisciplineTerminal
- getAttributes() - Method in class org.aesh.terminal.tty.TerminalConnection
- getCached() - Static method in class org.aesh.terminal.tty.TerminalColorDetector
-
Get the cached color capability without performing detection.
- getCloseHandler() - Method in class org.aesh.terminal.tty.TerminalConnection
- getCodePointConsumer() - Method in class org.aesh.terminal.tty.impl.WinSysTerminal
- getConsoleEncoding() - Method in class org.aesh.terminal.tty.impl.WinSysTerminal
-
Get the console encoding based on the console output code page.
- getConsoleMode() - Method in class org.aesh.terminal.tty.impl.WinSysTerminal
- getConsoleOutputCP() - Method in class org.aesh.terminal.tty.impl.WinSysTerminal
- getEscapeSequence(short) - Method in class org.aesh.terminal.tty.impl.WinSysTerminal
-
Get the escape sequence for a Windows virtual key code.
- getMasterInput() - Method in class org.aesh.terminal.tty.impl.CygwinPty
- getMasterInput() - Method in class org.aesh.terminal.tty.impl.ExecPty
- getMasterInput() - Method in interface org.aesh.terminal.tty.impl.Pty
-
Returns the master side input stream.
- getMasterOutput() - Method in class org.aesh.terminal.tty.impl.CygwinPty
- getMasterOutput() - Method in class org.aesh.terminal.tty.impl.ExecPty
- getMasterOutput() - Method in interface org.aesh.terminal.tty.impl.Pty
-
Returns the master side output stream.
- getName() - Method in class org.aesh.terminal.tty.impl.AbstractTerminal
- getName() - Method in class org.aesh.terminal.tty.impl.CygwinPty
-
Returns the name of the TTY device.
- getName() - Method in class org.aesh.terminal.tty.impl.ExecPty
-
Returns the name of the TTY device.
- getPty() - Method in class org.aesh.terminal.tty.impl.AbstractPosixTerminal
-
Returns the pseudo-terminal device associated with this terminal.
- getSequence(Capability) - Method in class org.aesh.terminal.tty.impl.WinSysTerminal
-
Get the terminal sequence for a capability.
- getSignalHandler() - Method in class org.aesh.terminal.tty.TerminalConnection
- getSize() - Method in class org.aesh.terminal.tty.impl.AbstractPosixTerminal
- getSize() - Method in class org.aesh.terminal.tty.impl.CygwinPty
- getSize() - Method in class org.aesh.terminal.tty.impl.ExecPty
- getSize() - Method in class org.aesh.terminal.tty.impl.LineDisciplineTerminal
- getSize() - Method in interface org.aesh.terminal.tty.impl.Pty
-
Returns the current terminal size.
- getSize() - Method in class org.aesh.terminal.tty.impl.WinSysTerminal
- getSizeHandler() - Method in class org.aesh.terminal.tty.TerminalConnection
- getSlaveInput() - Method in class org.aesh.terminal.tty.impl.CygwinPty
- getSlaveInput() - Method in class org.aesh.terminal.tty.impl.ExecPty
- getSlaveInput() - Method in interface org.aesh.terminal.tty.impl.Pty
-
Returns the slave side input stream.
- getSlaveOutput() - Method in class org.aesh.terminal.tty.impl.CygwinPty
- getSlaveOutput() - Method in class org.aesh.terminal.tty.impl.ExecPty
- getSlaveOutput() - Method in interface org.aesh.terminal.tty.impl.Pty
-
Returns the slave side output stream.
- getStdinHandler() - Method in class org.aesh.terminal.tty.TerminalConnection
- getTerminal() - Method in class org.aesh.terminal.tty.TerminalConnection
-
Returns the underlying Terminal instance.
- getType() - Method in class org.aesh.terminal.tty.impl.AbstractTerminal
-
Returns the terminal type identifier.
H
- handle(Signal) - Method in class org.aesh.terminal.tty.impl.NativeSignalHandler
-
Handles the given signal.
- handle(Signal, Terminal.SignalHandler) - Method in class org.aesh.terminal.tty.impl.AbstractTerminal
- handleDefaultSignal(Signal) - Method in class org.aesh.terminal.tty.impl.AbstractTerminal
-
Handles the default behavior for a signal when no custom handler is registered.
- handleDefaultSignal(Signal) - Method in class org.aesh.terminal.tty.impl.WinSysTerminal
- handlers - Variable in class org.aesh.terminal.tty.impl.AbstractTerminal
-
Map of signal types to their handlers.
I
- ImageExample - Class in org.aesh.terminal.tty.example
-
Example demonstrating terminal image display.
- ImageExample() - Constructor for class org.aesh.terminal.tty.example.ImageExample
-
Creates a new ImageExample instance.
- input - Variable in class org.aesh.terminal.tty.impl.WinSysTerminal
-
Terminal input stream.
- input - Variable in class org.aesh.terminal.tty.impl.PosixSysTerminal
-
The terminal input stream.
- input() - Method in class org.aesh.terminal.tty.impl.WinSysTerminal
- input() - Method in class org.aesh.terminal.tty.impl.LineDisciplineTerminal
- input() - Method in class org.aesh.terminal.tty.impl.PosixSysTerminal
- input(InputStream) - Method in class org.aesh.terminal.tty.TerminalBuilder
-
Sets the input stream for the terminal.
- inputEncoding() - Method in class org.aesh.terminal.tty.TerminalConnection
- invokeHandler(String, Object) - Static method in class org.aesh.terminal.tty.utils.Signals
-
Invokes a signal handler directly for the specified signal.
- isMultiplexer() - Method in class org.aesh.terminal.tty.TerminalDevice
- isOscColorQuerySupported() - Static method in class org.aesh.terminal.tty.TerminalColorDetector
-
Check if the terminal likely supports OSC color queries.
- isReading() - Method in class org.aesh.terminal.tty.TerminalConnection
-
Returns whether the connection is currently reading from the input stream.
- isRunningInMultiplexer() - Static method in class org.aesh.terminal.tty.TerminalColorDetector
-
Check if running inside any terminal multiplexer (tmux or screen).
- isRunningInScreen() - Static method in class org.aesh.terminal.tty.TerminalColorDetector
-
Check if running inside GNU Screen.
- isRunningInTmux() - Static method in class org.aesh.terminal.tty.TerminalColorDetector
-
Check if running inside tmux.
- isTmuxPassthroughLikely() - Static method in class org.aesh.terminal.tty.TerminalColorDetector
-
Check if tmux passthrough is likely enabled.
- isVTSupported() - Static method in class org.aesh.terminal.tty.impl.WinSysTerminal
-
Check if virtual terminal mode is supported.
L
- LineDisciplineTerminal - Class in org.aesh.terminal.tty.impl
-
Abstract console with support for line discipline.
- LineDisciplineTerminal(String, String, OutputStream) - Constructor for class org.aesh.terminal.tty.impl.LineDisciplineTerminal
-
Create a new line discipline terminal.
- LinePipedInputStream - Class in org.aesh.terminal.tty.utils
-
A PipedInputStream that reads data line by line, stopping at newline characters.
- LinePipedInputStream(int) - Constructor for class org.aesh.terminal.tty.utils.LinePipedInputStream
-
Creates a new LinePipedInputStream with the specified pipe size.
- LinePipedInputStream(PipedOutputStream) - Constructor for class org.aesh.terminal.tty.utils.LinePipedInputStream
-
Creates a new LinePipedInputStream connected to the specified PipedOutputStream.
- LOGGER - Variable in class org.aesh.terminal.tty.impl.AbstractTerminal
-
Logger for this terminal instance.
M
- main(String[]) - Static method in class org.aesh.terminal.tty.example.AnimatedAsciiExample
-
Main entry point for the animated ASCII example.
- main(String[]) - Static method in class org.aesh.terminal.tty.example.AsciiArtExample
-
Main entry point for the ASCII art example.
- main(String[]) - Static method in class org.aesh.terminal.tty.example.ImageExample
-
Main entry point for the image example.
- main(String[]) - Static method in class org.aesh.terminal.tty.example.TerminalColorExample
-
Main entry point for the terminal color example.
- masterInput - Variable in class org.aesh.terminal.tty.impl.ExternalTerminal
-
The master input stream for reading data from the external source.
- masterOutput - Variable in class org.aesh.terminal.tty.impl.LineDisciplineTerminal
-
Master output stream.
N
- name - Variable in class org.aesh.terminal.tty.impl.AbstractTerminal
-
The terminal name.
- name(String) - Method in class org.aesh.terminal.tty.DeviceBuilder
-
Sets the terminal type name for the device.
- name(String) - Method in class org.aesh.terminal.tty.TerminalBuilder
-
Sets the terminal name.
- nativeHandlers - Variable in class org.aesh.terminal.tty.impl.WinSysTerminal
-
Map of native signal handlers.
- nativeHandlers - Variable in class org.aesh.terminal.tty.impl.PosixSysTerminal
-
Map of signals to their native handlers.
- NativeSignalHandler - Class in org.aesh.terminal.tty.impl
-
Native signal handler implementation that provides default and ignore signal handling.
- nativeSignals(boolean) - Method in class org.aesh.terminal.tty.TerminalBuilder
-
Sets whether to use native signal handling.
O
- openBlocking() - Method in class org.aesh.terminal.tty.TerminalConnection
-
Opens the Connection stream, this method will block and wait for input.
- openBlocking(String) - Method in class org.aesh.terminal.tty.TerminalConnection
-
Opens the Connection stream with an initial buffer.
- openNonBlocking() - Method in class org.aesh.terminal.tty.TerminalConnection
- org.aesh.terminal.tty - package org.aesh.terminal.tty
- org.aesh.terminal.tty.example - package org.aesh.terminal.tty.example
- org.aesh.terminal.tty.impl - package org.aesh.terminal.tty.impl
- org.aesh.terminal.tty.utils - package org.aesh.terminal.tty.utils
- originalAttributes - Variable in class org.aesh.terminal.tty.impl.AbstractPosixTerminal
-
The original terminal attributes saved for restoration on close.
- output - Variable in class org.aesh.terminal.tty.impl.WinSysTerminal
-
Terminal output stream.
- output - Variable in class org.aesh.terminal.tty.impl.PosixSysTerminal
-
The terminal output stream.
- output() - Method in class org.aesh.terminal.tty.impl.WinSysTerminal
- output() - Method in class org.aesh.terminal.tty.impl.LineDisciplineTerminal
- output() - Method in class org.aesh.terminal.tty.impl.PosixSysTerminal
- output(OutputStream) - Method in class org.aesh.terminal.tty.TerminalBuilder
-
Sets the output stream for the terminal.
- outputEncoding() - Method in class org.aesh.terminal.tty.TerminalConnection
P
- PosixSysTerminal - Class in org.aesh.terminal.tty.impl
-
A POSIX system terminal implementation that provides native signal handling and integrates with the system's PTY.
- PosixSysTerminal(String, String, Pty, boolean) - Constructor for class org.aesh.terminal.tty.impl.PosixSysTerminal
-
Constructs a PosixSysTerminal with the specified parameters.
- processInputByte(int) - Method in class org.aesh.terminal.tty.impl.LineDisciplineTerminal
-
Master input processing.
- processInputBytes(byte[]) - Method in class org.aesh.terminal.tty.impl.LineDisciplineTerminal
-
Process an array of input bytes.
- processInputBytes(byte[], int) - Method in class org.aesh.terminal.tty.impl.LineDisciplineTerminal
-
Process input bytes up to the specified length.
- processInputBytes(int[], int) - Method in class org.aesh.terminal.tty.impl.LineDisciplineTerminal
-
Process input code points up to the specified length.
- processOutputByte(int) - Method in class org.aesh.terminal.tty.impl.LineDisciplineTerminal
-
Master output processing.
- pty - Variable in class org.aesh.terminal.tty.impl.AbstractPosixTerminal
-
The pseudo-terminal device for this terminal.
- Pty - Interface in org.aesh.terminal.tty.impl
-
Represents a pseudo-terminal (PTY) providing master/slave input and output streams.
- pump - Variable in class org.aesh.terminal.tty.impl.WinSysTerminal
-
Input pump thread.
- pump() - Method in class org.aesh.terminal.tty.impl.WinSysTerminal
-
Pump thread that reads console input and processes it.
- pump() - Method in class org.aesh.terminal.tty.impl.ExternalTerminal
-
Pumps data from the master input stream to the terminal.
- put(Capability, Object...) - Method in class org.aesh.terminal.tty.TerminalConnection
Q
- queryBackgroundColor(Connection, long) - Static method in class org.aesh.terminal.tty.TerminalColorDetector
-
Query the terminal for its background color using OSC 11.
- queryForegroundColor(Connection, long) - Static method in class org.aesh.terminal.tty.TerminalColorDetector
-
Query the terminal for its foreground color using OSC 10.
R
- raise(Signal) - Method in class org.aesh.terminal.tty.impl.AbstractTerminal
- raise(Signal) - Method in class org.aesh.terminal.tty.impl.LineDisciplineTerminal
- read(byte[], int, int) - Method in class org.aesh.terminal.tty.utils.LinePipedInputStream
-
Reads up to len bytes of data from this input stream into an array of bytes.
- readConsoleInput() - Method in class org.aesh.terminal.tty.impl.WinSysTerminal
- register(String, Runnable) - Static method in class org.aesh.terminal.tty.utils.Signals
-
Registers a signal handler for the specified signal.
- register(String, Runnable, ClassLoader) - Static method in class org.aesh.terminal.tty.utils.Signals
-
Registers a signal handler using the specified class loader.
- registerDefault(String) - Static method in class org.aesh.terminal.tty.utils.Signals
-
Registers the default signal handler for the specified signal.
- registerIgnore(String) - Static method in class org.aesh.terminal.tty.utils.Signals
-
Registers an ignore handler for the specified signal, causing the signal to be ignored.
- remove(ShutdownHooks.Task) - Static method in class org.aesh.terminal.tty.utils.ShutdownHooks
-
Removes a task from the shutdown hook.
- run() - Method in interface org.aesh.terminal.tty.utils.ShutdownHooks.Task
-
Run the task.
S
- setAttr(Attributes) - Method in class org.aesh.terminal.tty.impl.CygwinPty
- setAttr(Attributes) - Method in class org.aesh.terminal.tty.impl.ExecPty
- setAttr(Attributes) - Method in interface org.aesh.terminal.tty.impl.Pty
-
Sets the terminal attributes.
- setAttributes(Attributes) - Method in class org.aesh.terminal.tty.impl.AbstractPosixTerminal
- setAttributes(Attributes) - Method in class org.aesh.terminal.tty.impl.WinSysTerminal
-
Set terminal attributes.
- setAttributes(Attributes) - Method in class org.aesh.terminal.tty.impl.LineDisciplineTerminal
- setAttributes(Attributes) - Method in class org.aesh.terminal.tty.TerminalConnection
- setCloseHandler(Consumer<Void>) - Method in class org.aesh.terminal.tty.TerminalConnection
- setConsoleMode(int) - Method in class org.aesh.terminal.tty.impl.WinSysTerminal
- setSignalHandler(Consumer<Signal>) - Method in class org.aesh.terminal.tty.TerminalConnection
- setSize(Size) - Method in class org.aesh.terminal.tty.impl.WinSysTerminal
-
Set the terminal size.
- setSizeHandler(Consumer<Size>) - Method in class org.aesh.terminal.tty.TerminalConnection
- setStdinHandler(Consumer<int[]>) - Method in class org.aesh.terminal.tty.TerminalConnection
- shouldUseTmuxPassthrough() - Static method in class org.aesh.terminal.tty.TerminalColorDetector
-
Check if we should use tmux DCS passthrough wrapping for OSC queries.
- ShutdownHooks - Class in org.aesh.terminal.tty.utils
-
Manages the shutdown-hook thread and tasks to execute on shutdown.
- ShutdownHooks.Task - Interface in org.aesh.terminal.tty.utils
-
A task that can be executed on shutdown.
- SIG_DFL - Static variable in class org.aesh.terminal.tty.impl.NativeSignalHandler
-
Default signal handler that performs the default action for the signal.
- SIG_DFL - Static variable in interface org.aesh.terminal.tty.impl.SignalHandlers
-
Default signal handler that performs the default action for the signal.
- SIG_IGN - Static variable in class org.aesh.terminal.tty.impl.NativeSignalHandler
-
Signal handler that ignores the signal.
- SIG_IGN - Static variable in interface org.aesh.terminal.tty.impl.SignalHandlers
-
Signal handler that ignores the signal.
- SignalHandlers - Interface in org.aesh.terminal.tty.impl
-
Provides default and ignore signal handlers for terminal signal handling.
- Signals - Class in org.aesh.terminal.tty.utils
-
Signals helpers.
- size - Variable in class org.aesh.terminal.tty.impl.LineDisciplineTerminal
-
Terminal size.
- size() - Method in class org.aesh.terminal.tty.TerminalConnection
- slaveInput - Variable in class org.aesh.terminal.tty.impl.LineDisciplineTerminal
-
Slave input stream.
- slaveInputPipe - Variable in class org.aesh.terminal.tty.impl.WinSysTerminal
-
Slave input pipe.
- slaveInputPipe - Variable in class org.aesh.terminal.tty.impl.LineDisciplineTerminal
-
Slave input pipe write side.
- slaveOutput - Variable in class org.aesh.terminal.tty.impl.LineDisciplineTerminal
-
Slave output stream.
- stdoutHandler() - Method in class org.aesh.terminal.tty.TerminalConnection
- stopReading() - Method in class org.aesh.terminal.tty.TerminalConnection
-
Stops reading from the terminal input stream and wakes up any suspended threads.
- supportsAnsi() - Method in class org.aesh.terminal.tty.TerminalConnection
- supportsOscQueries() - Method in class org.aesh.terminal.tty.TerminalDevice
- suspend() - Method in class org.aesh.terminal.tty.TerminalConnection
-
Suspends reading from the terminal input stream.
- suspended() - Method in class org.aesh.terminal.tty.TerminalConnection
-
Returns whether the connection is currently suspended.
- system(boolean) - Method in class org.aesh.terminal.tty.TerminalBuilder
-
Sets whether to use the system terminal.
T
- TerminalBuilder - Class in org.aesh.terminal.tty
-
Builder for creating Terminal instances with configurable input/output streams and settings.
- TerminalColorDetector - Class in org.aesh.terminal.tty
-
Utility class to detect terminal color capabilities.
- TerminalColorExample - Class in org.aesh.terminal.tty.example
-
Example program demonstrating the terminal color detection API.
- TerminalColorExample() - Constructor for class org.aesh.terminal.tty.example.TerminalColorExample
-
Creates a new TerminalColorExample instance.
- TerminalConnection - Class in org.aesh.terminal.tty
-
Implementation of Connection meant for local terminal connections.
- TerminalConnection() - Constructor for class org.aesh.terminal.tty.TerminalConnection
-
Creates a new TerminalConnection using system default charset and standard I/O streams.
- TerminalConnection(Charset, InputStream, OutputStream) - Constructor for class org.aesh.terminal.tty.TerminalConnection
-
Creates a new TerminalConnection with the specified charset and streams.
- TerminalConnection(Charset, InputStream, OutputStream, Consumer<Connection>) - Constructor for class org.aesh.terminal.tty.TerminalConnection
-
Creates a new TerminalConnection with the specified charset, streams, and handler.
- TerminalConnection(Charset, Charset, InputStream, OutputStream, Consumer<Connection>) - Constructor for class org.aesh.terminal.tty.TerminalConnection
-
Creates a new TerminalConnection with the specified charsets, streams, and handler.
- TerminalConnection(Consumer<Connection>) - Constructor for class org.aesh.terminal.tty.TerminalConnection
-
Creates a new TerminalConnection using system defaults with a connection handler.
- TerminalConnection(Terminal) - Constructor for class org.aesh.terminal.tty.TerminalConnection
-
Creates a new TerminalConnection wrapping an existing Terminal.
- TerminalDevice - Class in org.aesh.terminal.tty
-
Contains info regarding the current device connected to readline
- TerminalDevice(String) - Constructor for class org.aesh.terminal.tty.TerminalDevice
-
Create a new terminal device with the specified type.
- type - Variable in class org.aesh.terminal.tty.impl.AbstractTerminal
-
The terminal type (e.g., "xterm", "vt100").
- type(String) - Method in class org.aesh.terminal.tty.TerminalBuilder
-
Sets the terminal type (e.g., "xterm", "ansi", "dumb").
U
- unregister(String, Object) - Static method in class org.aesh.terminal.tty.utils.Signals
-
Unregisters a signal handler by restoring the previous handler.
W
- WinExternalTerminal - Class in org.aesh.terminal.tty.impl
-
Windows-specific external terminal implementation with CR/LF handling.
- WinExternalTerminal(String, String, InputStream, OutputStream) - Constructor for class org.aesh.terminal.tty.impl.WinExternalTerminal
-
Create a new Windows external terminal.
- WinSysTerminal - Class in org.aesh.terminal.tty.impl
-
Windows system terminal implementation using native console API.
- WinSysTerminal(String, boolean) - Constructor for class org.aesh.terminal.tty.impl.WinSysTerminal
-
Create a new Windows system terminal with the specified name.
- WinSysTerminal(String, boolean, Terminal.SignalHandler) - Constructor for class org.aesh.terminal.tty.impl.WinSysTerminal
-
Create a new Windows system terminal with custom signal handler.
- writer - Variable in class org.aesh.terminal.tty.impl.WinSysTerminal
-
Print writer for output.
- writer() - Method in class org.aesh.terminal.tty.impl.WinSysTerminal
-
Get the print writer for output.
All Classes and Interfaces|All Packages|Constant Field Values