Package-level declarations

Types

Link copied to clipboard
data class Cell(var char: Char = ' ', var style: CharacterStyle = CharacterStyle.DEFAULT, var isPlaceholder: Boolean = false)

Represents a single character block on the terminal grid.

Link copied to clipboard
data class CharacterStyle(val foreground: Colour = Colour.DEFAULT, val background: Colour = Colour.DEFAULT, val isBold: Boolean = false, val isItalic: Boolean = false, val isUnderline: Boolean = false)

Represents the visual attributes of a character in the terminal.

Link copied to clipboard
class RingBuffer<T>(val capacity: Int)

A highly efficient, fixed-capacity circular buffer. Used to store the terminal scrollback history without requiring O(N) array shifting when the history exceeds its maximum capacity.