Index

A B C D E 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
 
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.
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

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.
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.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.
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(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
 
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.
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
 
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
 
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
 
getConsoleOutputCP() - Static method in class org.aesh.terminal.tty.impl.WinConsoleNative
 
getConsoleOutputCP() - Method in class org.aesh.terminal.tty.impl.WinSysTerminal
 
getConsoleSize(long) - Static method in class org.aesh.terminal.tty.impl.WinConsoleNative
 
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.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.
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
 
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.
getStdHandle(int) - Static method in class org.aesh.terminal.tty.impl.WinConsoleNative
 
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
 
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
 
invokeHandler(String, Object) - Static method in class org.aesh.terminal.tty.utils.Signals
Invokes a signal handler directly for the specified signal.
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.
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.
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.

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.
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.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
 
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".
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.
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.
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).
readConsoleKeyEvent(long) - Static method in class org.aesh.terminal.tty.impl.WinConsoleNative
 
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
 
setConsoleMode(int) - Method in class org.aesh.terminal.tty.impl.WinSysTerminal
 
setConsoleMode(long, int) - Static method in class org.aesh.terminal.tty.impl.WinConsoleNative
 
setSize(Size) - Method in class org.aesh.terminal.tty.impl.WinSysTerminal
Set the terminal size.
setStdinHandler(Consumer<int[]>) - 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.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.
STD_ERROR_HANDLE - Static variable in class org.aesh.terminal.tty.impl.WinConsoleNative
 
STD_INPUT_HANDLE - Static variable in class org.aesh.terminal.tty.impl.WinConsoleNative
 
STD_OUTPUT_HANDLE - Static variable in class org.aesh.terminal.tty.impl.WinConsoleNative
 
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
 
supportsAnsi() - Method in class org.aesh.terminal.tty.TerminalConnection
 
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<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.
ThemeNameClassifier - Class in org.aesh.terminal.tty.utils
Classifies theme/color-scheme names as DARK or LIGHT based on known keywords.
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

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
 
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.
writeConsole(long, char[], int) - Static method in class org.aesh.terminal.tty.impl.WinConsoleNative
 
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 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