Skip to main content

Module terminal

Module terminal 

Source

Structs§

CellStyle
Compact bitset for terminal text styles.
Screen
Represents the current state of a terminal screen
ScreenCell
Represents a character with attributes in the terminal
ScreenCellAttributes
Container for all possible character attributes
TerminalEmulator
Terminal emulator that processes input and maintains screen state
TerminalOutputDiff
Terminal output difference detector
TerminalPerformer
Terminal state performer that handles VTE events

Enums§

TerminalColor
Represents a terminal color

Constants§

DEFAULT_MAX_SCREEN_LINES
Default maximum number of lines to keep in the screen buffer
MAX_OUTPUT_SIZE
Maximum output size in bytes to prevent excessive memory usage
MAX_SCREEN_LINES
Maximum number of lines to keep in the screen buffer

Functions§

incremental_text
Get incremental text output by comparing old and new terminal states
render_terminal_output
Render terminal output with line wrapping
strip_ansi_codes
Strip ANSI escape codes from a string using a robust regex