Buffer
Constructors
Properties
Functions
Link copied to clipboard
Clears all visible text on the screen and resets the cursor to (0,0).
Link copied to clipboard
Retrieves the scrollback history and the visible screen as a single multi-line string.
Link copied to clipboard
Retrieves a specific line as a raw string (negative row queries history).
Link copied to clipboard
Retrieves the entire visible screen concatenated as a multi-line string.
Link copied to clipboard
Retrieves the style attributes at a specific coordinate (negative row queries history).
Link copied to clipboard
Inserts an empty line at the bottom of the screen, pushing everything up and saving the top line to scrollback history.
Link copied to clipboard
Moves the cursor relative to its current position, clamping to boundaries.
Link copied to clipboard