Wrap the given text in terminal formatting codes corresponding to the given attribute name. The attr string can be of the form red fg or 52 bg where 52 is a 0-255 integer color number.
attr
red fg
52 bg
52
Generated using TypeDoc
Wrap the given text in terminal formatting codes corresponding to the given attribute name. The
attr
string can be of the formred fg
or52 bg
where52
is a 0-255 integer color number.