struct

Opal::UI::Cell

Inherits Struct < Value < Object

Represents a single character cell on the terminal screen grid with color and styling attributes.

Constructors

continuation
Source
empty
Source
new(char : Char = ' ', fg : Color = Color.none, bg : Color = Color.none, bold : Bool = false, dim : Bool = false, italic : Bool = false, underline : Bool = false, reverse : Bool = false, continuation : Bool = false)
Source

Instance methods

==(other : Cell) : Bool
Source
bg=(bg : Color)
Source
bold=(bold : Bool)
Source
bold?
Source
char
Source
char=(char : Char)
Source
continuation=(continuation : Bool)
Source
continuation?
Source
dim=(dim : Bool)
Source
dim?
Source
fg=(fg : Color)
Source
italic=(italic : Bool)
Source
italic?
Source
reverse=(reverse : Bool)
Source
reverse?
Source
underline=(underline : Bool)
Source
underline?
Source