Index

A B C D E F G H I K L M N O P Q R S T U V W 
All Classes and Interfaces|All Packages|Constant Field Values

A

AbstractExecPty - Class in org.aesh.terminal.tty.impl
Abstract base class for PTY implementations that use external commands (stty, tty) to interact with the terminal.
AbstractExecPty(String) - Constructor for class org.aesh.terminal.tty.impl.AbstractExecPty
Constructor.
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) - Method in class org.aesh.terminal.tty.TerminalDevice
Add all boolean capabilities from a set.
addAllCapabilityInts(Map) - Method in class org.aesh.terminal.tty.TerminalDevice
Add all integer capabilities from a map.
addAllCapabilityStrings(Map) - 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.
addLine(String) - Method in class org.aesh.terminal.tty.split.ScrollbackBuffer
Add a line to the buffer.
attributes - Variable in class org.aesh.terminal.tty.impl.WinSysTerminal
Terminal attributes.
attributes - Variable in class org.aesh.terminal.tty.impl.LineDisciplineTerminal
Terminal attributes.
attributes() - Method in class org.aesh.terminal.tty.TerminalConnection
 
awake() - Method in class org.aesh.terminal.tty.TerminalConnection
Resumes reading from the terminal input stream after a suspend.

B

bottomRegion() - Method in class org.aesh.terminal.tty.split.SplitScreenImpl
 
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

classify(String) - Static method in class org.aesh.terminal.tty.utils.ThemeNameClassifier
Classify a theme or color scheme name as DARK, LIGHT, or UNKNOWN.
clear() - Method in class org.aesh.terminal.tty.split.ScrollbackBuffer
Clear all stored lines.
clearCache() - Static method in class org.aesh.terminal.tty.TerminalColorDetector
Clear the cached color capability.
close() - Method in class org.aesh.terminal.tty.impl.AbstractExecPty
 
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.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.split.SplitScreenImpl
 
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.
ColorUtils - Class in org.aesh.terminal.tty.utils
Utility methods for color conversion and tmux color detection.
console() - Static method in class org.aesh.terminal.tty.TerminalBuilder
Creates and returns a default system Terminal.
createTerminal(String, String, boolean) - Method in class org.aesh.terminal.tty.provider.CygwinTerminalProvider
 
createTerminal(String, String, boolean) - Method in class org.aesh.terminal.tty.provider.ExecPtyTerminalProvider
 
createTerminal(String, String, boolean) - Method in class org.aesh.terminal.tty.provider.FfmTerminalProvider
 
createTerminal(String, String, boolean) - Method in class org.aesh.terminal.tty.provider.WinSysTerminalProvider
 
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.
currentRegion() - Method in class org.aesh.terminal.tty.TerminalConnection
 
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.
CygwinTerminalProvider - Class in org.aesh.terminal.tty.provider
Terminal provider for Cygwin/MSYS2 environments on Windows.
CygwinTerminalProvider() - Constructor for class org.aesh.terminal.tty.provider.CygwinTerminalProvider
Creates a new CygwinTerminalProvider.

D

detect(TerminalFeatures) - Static method in class org.aesh.terminal.tty.TerminalColorDetector
Detect terminal color capabilities using a fast OSC query (FG + BG only).
detect(TerminalFeatures, boolean) - Static method in class org.aesh.terminal.tty.TerminalColorDetector
Detect terminal color capabilities.
detectCached(TerminalFeatures) - Static method in class org.aesh.terminal.tty.TerminalColorDetector
Detect terminal color capabilities using cached result if available.
detectColorDepth(TerminalFeatures) - Static method in class org.aesh.terminal.tty.TerminalColorDetector
Detect only the color depth without querying the terminal for colors.
detectColorsFromTmux() - Static method in class org.aesh.terminal.tty.utils.ColorUtils
Try to detect terminal colors by querying tmux options.
detectFast(TerminalFeatures) - Static method in class org.aesh.terminal.tty.TerminalColorDetector
Get a fast, non-blocking color capability based only on environment detection.
detectFull(TerminalFeatures) - Static method in class org.aesh.terminal.tty.TerminalColorDetector
Detect terminal color capabilities including cursor and all 16 palette colors.
detectPlatformTheme(TerminalEnvironment) - Static method in class org.aesh.terminal.tty.PlatformThemeDetector
Detect the terminal theme using platform-specific methods.
detectThemeFromEnvironment() - Static method in class org.aesh.terminal.tty.TerminalColorDetector
Detect terminal theme from environment variables and platform-specific config files.
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_VIRTUAL_TERMINAL_INPUT - Static variable in class org.aesh.terminal.tty.impl.WinSysTerminal
Enable virtual terminal input (VT sequences for special keys and mouse).
ENABLE_VIRTUAL_TERMINAL_INPUT - Static variable in class org.aesh.terminal.tty.impl.WinConsoleNative
Console mode flag: enable virtual terminal input on input handle.
ENABLE_VIRTUAL_TERMINAL_PROCESSING - Static variable in class org.aesh.terminal.tty.impl.WinConsoleNative
Console mode flag: enable virtual terminal processing on output handle.
ENABLE_WINDOW_INPUT - Static variable in class org.aesh.terminal.tty.impl.WinSysTerminal
Enable window input mode.
exec(String...) - Static method in class org.aesh.terminal.tty.impl.AbstractExecPty
Execute a command.
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.
ExecPtyTerminalProvider - Class in org.aesh.terminal.tty.provider
Terminal provider using exec-based PTY (stty/tty commands).
ExecPtyTerminalProvider() - Constructor for class org.aesh.terminal.tty.provider.ExecPtyTerminalProvider
Creates a new ExecPtyTerminalProvider.
execute(long, String...) - Static method in class org.aesh.terminal.tty.utils.ProcessHelper
Execute a command with a timeout and capture its output.
execute(String...) - Static method in class org.aesh.terminal.tty.utils.ProcessHelper
Execute a command and capture its output.
exitCode() - Method in class org.aesh.terminal.tty.utils.ProcessHelper.ProcessResult
Method.
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.

F

FD_STDERR - Static variable in class org.aesh.terminal.tty.TtyDetect
File descriptor for standard error.
FD_STDIN - Static variable in class org.aesh.terminal.tty.TtyDetect
File descriptor for standard input.
FD_STDOUT - Static variable in class org.aesh.terminal.tty.TtyDetect
File descriptor for standard output.
FfmTerminalProvider - Class in org.aesh.terminal.tty.provider
Terminal provider using FFM-based PTY (Java 22+, POSIX systems).
FfmTerminalProvider() - Constructor for class org.aesh.terminal.tty.provider.FfmTerminalProvider
Creates a new FfmTerminalProvider.

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
 
getCached() - Static method in class org.aesh.terminal.tty.TerminalColorDetector
Get the cached color capability without performing detection.
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
 
getConsoleMode(long) - Static method in class org.aesh.terminal.tty.impl.WinConsoleNative
Returns the current console mode for the given handle.
getConsoleOutputCP() - Static method in class org.aesh.terminal.tty.impl.WinConsoleNative
Returns the console output code page.
getConsoleOutputCP() - Method in class org.aesh.terminal.tty.impl.WinSysTerminal
 
getConsoleSize(long) - Static method in class org.aesh.terminal.tty.impl.WinConsoleNative
Returns the console size as {columns, rows}.
getEscapeSequence(short) - Method in class org.aesh.terminal.tty.impl.WinSysTerminal
Get the escape sequence for a Windows virtual key code.
getLastLines(int) - Method in class org.aesh.terminal.tty.split.ScrollbackBuffer
Get the last N lines from the buffer (most recent at the end).
getMasterInput() - Method in class org.aesh.terminal.tty.impl.AbstractExecPty
 
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.AbstractExecPty
 
getMasterOutput() - Method in interface org.aesh.terminal.tty.impl.Pty
Returns the master side output stream.
getMouseHandler() - Method in class org.aesh.terminal.tty.impl.WinSysTerminal
Get the current mouse handler.
getName() - Method in class org.aesh.terminal.tty.impl.AbstractExecPty
Returns the name of the TTY device.
getName() - Method in class org.aesh.terminal.tty.impl.AbstractTerminal
 
getNumberOfConsoleInputEvents(long) - Static method in class org.aesh.terminal.tty.impl.WinConsoleNative
Returns the number of unread console input events.
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.
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
 
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.
getSplitRatio() - Method in class org.aesh.terminal.tty.split.SplitScreenImpl
 
getStdHandle(int) - Static method in class org.aesh.terminal.tty.impl.WinConsoleNative
Returns the handle for the specified standard device.
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.
getWindowsBuildNumber() - Static method in class org.aesh.terminal.tty.PlatformThemeDetector
Get the Windows build number from the registry.

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
 
handleResize(Size) - Method in class org.aesh.terminal.tty.split.SplitScreenImpl
Handle terminal resize.
handlers - Variable in class org.aesh.terminal.tty.impl.AbstractTerminal
Map of signal types to their handlers.

I

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
 
INVALID_HANDLE - Static variable in class org.aesh.terminal.tty.impl.WinConsoleNative
Invalid handle sentinel value.
invokeHandler(String, Object) - Static method in class org.aesh.terminal.tty.utils.Signals
Invokes a signal handler directly for the specified signal.
isClosed() - Method in class org.aesh.terminal.tty.split.SplitScreenImpl
Check whether this split screen has been closed.
isDarkColor(int[]) - Static method in class org.aesh.terminal.tty.TerminalColorDetector
Check if an RGB color represents a dark theme (luminance < 0.5).
isDarkColor(int[]) - Static method in class org.aesh.terminal.tty.utils.ColorUtils
Determine if an RGB color is dark based on perceived luminance.
isInteractive() - Method in class org.aesh.terminal.tty.TerminalConnection
 
isOscColorQuerySupported(TerminalFeatures) - 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.
isStderrTty() - Static method in class org.aesh.terminal.tty.TtyDetect
Check if standard error is connected to a terminal.
isStdinTty() - Static method in class org.aesh.terminal.tty.TtyDetect
Check if standard input is connected to a terminal.
isStdoutTty() - Static method in class org.aesh.terminal.tty.TtyDetect
Check if standard output is connected to a terminal.
isSupported() - Method in class org.aesh.terminal.tty.provider.CygwinTerminalProvider
 
isSupported() - Method in class org.aesh.terminal.tty.provider.ExecPtyTerminalProvider
 
isSupported() - Method in class org.aesh.terminal.tty.provider.FfmTerminalProvider
 
isSupported() - Method in class org.aesh.terminal.tty.provider.WinSysTerminalProvider
 
isSuspended() - Method in class org.aesh.terminal.tty.split.SplitScreenImpl
Check whether this split screen is currently suspended.
isTty(int) - Static method in class org.aesh.terminal.tty.TtyDetect
Check if the given file descriptor is connected to a terminal.
isVTSupported() - Static method in class org.aesh.terminal.tty.impl.WinSysTerminal
Check if virtual terminal mode is supported.

K

KEY_EVENT - Static variable in class org.aesh.terminal.tty.impl.WinConsoleNative
Event type constants matching Windows INPUT_RECORD.EventType.

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

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.
MOUSE_EVENT - Static variable in class org.aesh.terminal.tty.impl.WinConsoleNative
Mouse event type.

N

name - Variable in class org.aesh.terminal.tty.impl.AbstractTerminal
The terminal name.
name() - Method in class org.aesh.terminal.tty.provider.CygwinTerminalProvider
 
name() - Method in class org.aesh.terminal.tty.provider.ExecPtyTerminalProvider
 
name() - Method in class org.aesh.terminal.tty.provider.FfmTerminalProvider
 
name() - Method in class org.aesh.terminal.tty.provider.WinSysTerminalProvider
 
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.
namedColorToRGB(String) - Static method in class org.aesh.terminal.tty.utils.ColorUtils
Convert a named color to RGB.
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.impl - package org.aesh.terminal.tty.impl
 
org.aesh.terminal.tty.provider - package org.aesh.terminal.tty.provider
 
org.aesh.terminal.tty.split - package org.aesh.terminal.tty.split
 
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.
originalInputMode - Variable in class org.aesh.terminal.tty.impl.WinSysTerminal
Original console input mode, 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() - Method in class org.aesh.terminal.tty.utils.ProcessHelper.ProcessResult
Method.
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

palette256ToRGB(int) - Static method in class org.aesh.terminal.tty.utils.ColorUtils
Convert a 256-color palette index to RGB.
parseTmuxColor(String) - Static method in class org.aesh.terminal.tty.utils.ColorUtils
Parse a tmux color value.
parseTmuxStyle(String) - Static method in class org.aesh.terminal.tty.utils.ColorUtils
Parse a tmux style string like "bg=colour235,fg=colour252" or "bg=#282828".
peek(long) - Method in class org.aesh.terminal.tty.impl.WinSysTerminal
 
peek(long) - Method in class org.aesh.terminal.tty.impl.PosixSysTerminal
 
peek(long) - Method in interface org.aesh.terminal.tty.impl.Pty
Peeks at the next byte without consuming it, with a timeout.
peek(long) - Method in class org.aesh.terminal.tty.TerminalConnection
 
PlatformThemeDetector - Class in org.aesh.terminal.tty
Detects the terminal theme by reading platform-specific configuration files and querying OS settings.
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.
printAbove(String) - Method in class org.aesh.terminal.tty.TerminalConnection
 
priority() - Method in class org.aesh.terminal.tty.provider.CygwinTerminalProvider
 
priority() - Method in class org.aesh.terminal.tty.provider.ExecPtyTerminalProvider
 
priority() - Method in class org.aesh.terminal.tty.provider.FfmTerminalProvider
 
priority() - Method in class org.aesh.terminal.tty.provider.WinSysTerminalProvider
 
ProcessHelper - Class in org.aesh.terminal.tty.utils
Utility for executing external processes and capturing their output.
ProcessHelper.ProcessResult - Class in org.aesh.terminal.tty.utils
Result of a process execution.
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

queryAnsi16Colors(TerminalFeatures, long) - Static method in class org.aesh.terminal.tty.TerminalColorDetector
Query the ANSI 16-color palette (colors 0-15) in a single batch operation.
queryColorCapability(TerminalFeatures, long) - Static method in class org.aesh.terminal.tty.TerminalColorDetector
Query terminal color capabilities using synchronous I/O.
queryColors(TerminalFeatures, long) - Static method in class org.aesh.terminal.tty.TerminalColorDetector
Query foreground, background, and cursor colors in a single batch operation.
queryColorsWithFallback(TerminalFeatures, long) - Static method in class org.aesh.terminal.tty.TerminalColorDetector
Query colors with automatic fallback to environment-based detection.
queryPaletteColors(TerminalFeatures, long, int...) - Static method in class org.aesh.terminal.tty.TerminalColorDetector
Query multiple palette colors in a single batch operation.
queryThemeColors(TerminalFeatures, long) - Static method in class org.aesh.terminal.tty.TerminalColorDetector
Fast query for theme-relevant colors only (foreground and background).

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.
read(byte[], int, int, long) - Method in class org.aesh.terminal.tty.impl.WinSysTerminal
 
read(byte[], int, int, long) - Method in class org.aesh.terminal.tty.impl.PosixSysTerminal
 
read(byte[], int, int, long) - Method in interface org.aesh.terminal.tty.impl.Pty
Reads multiple bytes with a timeout for the first byte.
read(long) - Method in class org.aesh.terminal.tty.impl.WinSysTerminal
 
read(long) - Method in class org.aesh.terminal.tty.impl.PosixSysTerminal
 
read(long) - Method in interface org.aesh.terminal.tty.impl.Pty
Reads a single byte with a timeout.
readConsoleInput() - Method in class org.aesh.terminal.tty.impl.WinSysTerminal
 
readConsoleInputEvent(long) - Static method in class org.aesh.terminal.tty.impl.WinConsoleNative
Read a console input event (key or window resize).
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.
resume() - Method in class org.aesh.terminal.tty.split.SplitScreenImpl
 
run() - Method in interface org.aesh.terminal.tty.utils.ShutdownHooks.Task
Run the task.

S

ScrollbackBuffer - Class in org.aesh.terminal.tty.split
A circular buffer that stores lines for a screen region's scrollback history.
ScrollbackBuffer(int) - Constructor for class org.aesh.terminal.tty.split.ScrollbackBuffer
Creates a scrollback buffer with the specified capacity.
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
 
setConsoleMode(int) - Method in class org.aesh.terminal.tty.impl.WinSysTerminal
 
setConsoleMode(long, int) - Static method in class org.aesh.terminal.tty.impl.WinConsoleNative
Sets the console mode for the given handle.
setCurrentRegion(ScreenRegion) - Method in class org.aesh.terminal.tty.TerminalConnection
 
setMouseHandler(Consumer) - Method in class org.aesh.terminal.tty.impl.WinSysTerminal
Set the mouse event handler.
setMouseHandler(Consumer) - Method in class org.aesh.terminal.tty.TerminalConnection
 
setSeparator(String) - Method in class org.aesh.terminal.tty.split.SplitScreenImpl
 
setSize(Size) - Method in class org.aesh.terminal.tty.impl.WinSysTerminal
Set the terminal size.
setSplitRatio(double) - Method in class org.aesh.terminal.tty.split.SplitScreenImpl
 
setStdinHandler(Consumer) - Method in class org.aesh.terminal.tty.TerminalConnection
 
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.split.ScrollbackBuffer
Returns the number of lines currently stored.
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.
splitScreen() - Method in class org.aesh.terminal.tty.TerminalConnection
 
splitScreen(double) - Method in class org.aesh.terminal.tty.TerminalConnection
 
SplitScreenImpl - Class in org.aesh.terminal.tty.split
Implementation of split-screen using cursor addressing.
SplitScreenImpl(Connection, double) - Constructor for class org.aesh.terminal.tty.split.SplitScreenImpl
Create a split screen.
STD_ERROR_HANDLE - Static variable in class org.aesh.terminal.tty.impl.WinConsoleNative
Standard error handle identifier.
STD_INPUT_HANDLE - Static variable in class org.aesh.terminal.tty.impl.WinConsoleNative
Standard input handle identifier.
STD_OUTPUT_HANDLE - Static variable in class org.aesh.terminal.tty.impl.WinConsoleNative
Standard output handle identifier.
stopReading() - Method in class org.aesh.terminal.tty.TerminalConnection
Stops reading from the terminal input stream and wakes up any suspended threads.
success() - Method in class org.aesh.terminal.tty.utils.ProcessHelper.ProcessResult
Method.
supportsAnsi() - Method in class org.aesh.terminal.tty.TerminalConnection
 
supportsNonBlockingRead() - Method in class org.aesh.terminal.tty.impl.WinSysTerminal
Whether this terminal advertises non-blocking read/peek to callers.
supportsNonBlockingRead() - Method in class org.aesh.terminal.tty.impl.PosixSysTerminal
 
supportsNonBlockingRead() - Method in interface org.aesh.terminal.tty.impl.Pty
Whether this PTY supports non-blocking read operations with timeouts.
supportsNonBlockingRead() - Method in class org.aesh.terminal.tty.TerminalConnection
 
supportsNonBlockingWait() - Method in class org.aesh.terminal.tty.impl.WinSysTerminal
Whether the pump can use WaitForSingleObject with timeout.
supportsNonBlockingWait() - Static method in class org.aesh.terminal.tty.impl.WinConsoleNative
Whether this implementation supports non-blocking wait with timeout.
suspend() - Method in class org.aesh.terminal.tty.split.SplitScreenImpl
 
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.
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) - 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) - Constructor for class org.aesh.terminal.tty.TerminalConnection
Creates a new TerminalConnection with the specified charsets, streams, and handler.
TerminalConnection(Consumer) - 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.
ThemeNameClassifier - Class in org.aesh.terminal.tty.utils
Classifies theme/color-scheme names as DARK or LIGHT based on known keywords.
topRegion() - Method in class org.aesh.terminal.tty.split.SplitScreenImpl
 
TtyDetect - Class in org.aesh.terminal.tty
Utility for detecting whether file descriptors are connected to a terminal.
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.

V

vtInputEnabled - Variable in class org.aesh.terminal.tty.impl.WinSysTerminal
Whether VT input mode was successfully enabled on the input handle.

W

WAIT_FAILED - Static variable in class org.aesh.terminal.tty.impl.WinConsoleNative
WaitForSingleObject return: the function failed.
WAIT_OBJECT_0 - Static variable in class org.aesh.terminal.tty.impl.WinConsoleNative
WaitForSingleObject return: the object was signaled.
WAIT_TIMEOUT - Static variable in class org.aesh.terminal.tty.impl.WinConsoleNative
WaitForSingleObject return: the wait timed out.
waitForSingleObject(long, int) - Static method in class org.aesh.terminal.tty.impl.WinConsoleNative
Waits for the specified object to be signaled or the timeout to elapse.
WinConsoleNative - Class in org.aesh.terminal.tty.impl
JNI bridge to Windows console API (Kernel32).
WINDOW_BUFFER_SIZE_EVENT - Static variable in class org.aesh.terminal.tty.impl.WinConsoleNative
Window buffer size event type.
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 via JNI.
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.
WinSysTerminalProvider - Class in org.aesh.terminal.tty.provider
Terminal provider for Windows system console (JNI or FFM).
WinSysTerminalProvider() - Constructor for class org.aesh.terminal.tty.provider.WinSysTerminalProvider
Creates a new WinSysTerminalProvider.
write(String) - Method in class org.aesh.terminal.tty.TerminalConnection
 
writeConsole(long, char[], int) - Static method in class org.aesh.terminal.tty.impl.WinConsoleNative
Writes characters to the console.
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.
A B C D E F G H I K L M N O P Q R S T U V W 
All Classes and Interfaces|All Packages|Constant Field Values