create
Creates a terminal buffer with the requested visible dimensions and scrollback capacity.
Return
A new TerminalBuffer instance initialized with the given dimensions.
Parameters
width
Visible width in cells. Must be > 0.
height
Visible height in rows. Must be > 0.
maxHistory
Maximum number of history lines to retain in scrollback.