TerminalBuffers

Factory for creating terminal buffer instances behind the public core API.

Functions

Link copied to clipboard
fun create(width: Int, height: Int, maxHistory: Int = 1000): TerminalBuffer

Creates a terminal buffer with the requested visible dimensions and scrollback capacity.