class documentation

class MessageStyle(NamedTuple): (source)

View In Hierarchy

Styling of a message.

Class Variable color The color name (see `ANSI_COLORS` for available values) or the color number when 256 colors are available.
Class Variable style Tuple of style strings (see `ANSI_COLORS` for available values).

The color name (see `ANSI_COLORS` for available values) or the color number when 256 colors are available.

style: tuple[str, ...] = (source)

Tuple of style strings (see `ANSI_COLORS` for available values).