The core data structure representing the terminal emulator's text buffer. It manages the 2D grid of character cells, scrollback history, and cursor position.
Represents the 16 standard terminal colors supported by the buffer. DEFAULT indicates that the terminal should use its configured default color.
Represents a single horizontal row of text in the terminal buffer.