ui/widgets/terminal_view library

Classes

AnsiColors
Standard ANSI 16 colors.
AnsiStyle
ANSI SGR (Select Graphic Rendition) attributes.
StyledSpan
A styled span of text from ANSI parsing.
TerminalBuffer
Manages terminal output buffer with scrollback limit.
TerminalLine
A single line in the terminal output.
TerminalView
Terminal output viewer with ANSI color support and scrollback.

Functions

parseAnsi(String input) List<StyledSpan>
Parse ANSI escape sequences in text.
stripAnsi(String input) String
Strip all ANSI escape sequences from text.