Represents a single, atomic ANSI escape sequence that results in a color, background or
decoration being added to the output. May or may not have an escape sequence (escapeOpt
), as
some attributes (e.g. Bold.Off) are not widely/directly supported by terminals and so
fansi.Str supports them by rendering a hard Attr.Reset and then re-rendering other Attrs
that are active.
Many of the codes were stolen shamelessly from
- Companion:
- object
Value members
Abstract methods
Concrete methods
Combine this fansi.Attr with one or more other fansi.Attrs so they can be passed around together
Combine this fansi.Attr with one or more other fansi.Attrs so they can be passed around together