class

TUI::NamedColor

Inherits TUI::Color < Reference < Object

One of the 16 classic ANSI color names, plus :gray — an invented alias for bright-black (SGR 90/100), not a real terminal color name, predating and distinct from the 256-color palette.

Constructors

new(name : Symbol)
Source

Instance methods

==(other : self)

Returns true if this reference is the same as other. Invokes same?.

Source
sgr_bg
Source
sgr_fg
Source