CRT::Ansi::Style
Constants
BLINK = Style.new(blink: true)
BOLD = Style.new(bold: true)
DEFAULT = Style.new
DIM = Style.new(dim: true)
INVERSE = Style.new(inverse: true)
ITALIC = Style.new(italic: true)
POP = Text::Control::Pop
RESET = Text::Control::Reset
STRIKE = Style.new(strikethrough: true)
UNDERLINE = Style.new(underline: true)
Constructors
default
SourceInstance methods
bg
Sourceblink
Sourcebold
Sourcedim
Sourcefg
Sourcehyperlink
Sourceinverse
Sourceitalic
Sourcemerge(other : Style) : self
Merge another style on top of this one. Non-default properties of
other override; boolean attributes are OR'd (additive).
strikethrough
Sourceunderline
Sourcewith_bg(color : Color) : self
Sourcewith_fg(color : Color) : self
Sourcewithout_hyperlink
Source