struct

TUI::BufferCell

Inherits Struct < Value < Object

One character cell: the glyph itself plus the ANSI SGR escape sequence (style) that should be emitted before it. Screen#flush diffs on the (char, style) pair to decide which cells actually changed since the last frame.

Constructors

new(char : String = " ", style : String = "")
Source

Instance methods

char
clone
Source
copy_with(char _char = @char, style _style = @style)
Source
style