struct
Opal::UI::Cell
- Opal::UI::Cell
- Struct
- Value
- Object
Overview
Represents a single character cell on the terminal screen grid with color and styling attributes.
Defined in:
opal/ui/cell.crConstructors
- .continuation(hyperlink : String | Nil = nil) : Cell
- .empty : Cell
- .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, hyperlink : String | Nil = nil)
Instance Method Summary
- #==(other : Cell) : Bool
- #bg : Color
- #bg=(bg : Color)
- #bold=(bold : Bool)
- #bold? : Bool
- #char : Char
- #char=(char : Char)
- #continuation=(continuation : Bool)
- #continuation? : Bool
- #dim=(dim : Bool)
- #dim? : Bool
- #fg : Color
- #fg=(fg : Color)
- #hyperlink : String | Nil
- #hyperlink=(hyperlink : String | Nil)
- #italic=(italic : Bool)
- #italic? : Bool
- #reverse=(reverse : Bool)
- #reverse? : Bool
- #underline=(underline : Bool)
- #underline? : Bool
Constructor Detail
def self.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, hyperlink : String | Nil = nil)
#