struct

Tui::Style

Inherits Struct / Value / Object

Style combining colors and attributes

Constructors

default
Source
new(fg : Color = Color.default, bg : Color = Color.default, attrs : Attributes = Attributes::None)
Source

Instance methods

==(other : Style) : Bool
Source
attrs
Source
attrs=(attrs : Attributes)
Source
bg=(bg : Color)
Source
bold?
Source
dim?
Source
fg=(fg : Color)
Source
italic?
Source
reverse?
Source
to_ansi

Generate ANSI escape sequence for this style

Source
underline?
Source