TerminalInspector
interface TerminalInspector
Allocating inspection contract for the terminal buffer.
Intended for tests and debugging only. Every method here allocates — do not use on a hot rendering path. Production code should use TerminalReader.
Inheritors
Functions
Link copied to clipboard
Returns scrollback history followed by the visible screen as a newline-joined string, oldest line first.
Link copied to clipboard
Returns the attributes at a screen position as an unpacked Attributes object.
Link copied to clipboard
Returns the content of a visible row as a string, trimming trailing blank cells while preserving intentional space characters.
Link copied to clipboard
Returns the visible screen as a newline-joined string, top to bottom.