Handles scrollback buffer operations for the screen buffer. This module manages the history of lines that have scrolled off the screen, including adding, retrieving, and clearing scrollback content.
Summary
Functions
Adds a line to the scrollback buffer.
Adds multiple lines to the scrollback buffer.
Cleans up the scrollback buffer.
Clears the scrollback buffer.
Checks if the scrollback buffer is full.
Gets the current scrollback limit.
Gets a specific line from the scrollback buffer.
Gets lines from the scrollback buffer.
Gets the memory usage of the scrollback buffer.
Gets the newest line in the scrollback buffer.
Gets the oldest line in the scrollback buffer.
Returns a new scrollback buffer with default settings.
Sets the scrollback limit.
Gets the total number of lines in the scrollback buffer.
Types
Functions
Adds a line to the scrollback buffer.
Adds multiple lines to the scrollback buffer.
Cleans up the scrollback buffer.
Clears the scrollback buffer.
Checks if the scrollback buffer is full.
Gets the current scrollback limit.
Gets a specific line from the scrollback buffer.
Gets lines from the scrollback buffer.
Gets the memory usage of the scrollback buffer.
Gets the newest line in the scrollback buffer.
Gets the oldest line in the scrollback buffer.
Returns a new scrollback buffer with default settings.
Sets the scrollback limit.
Gets the total number of lines in the scrollback buffer.