Versions in this module Expand all Collapse all v0 v0.1.0 Oct 20, 2022 Changes in this version + type Color struct + func (c Color) Mode() Mode + func (c Color) RGB() (int, int, int) + func (c Color) Value() int + type Iterator struct + func NewIterator(s string) *Iterator + func (a *Iterator) Next() (rune, Style, bool) + type Mode int + const Mode16 + const Mode256 + const ModeNone + const ModeRGB + type Style struct + func (s *Style) Background() (Color, bool) + func (s *Style) Blink() bool + func (s *Style) Bold() bool + func (s *Style) Dim() bool + func (s *Style) Foreground() (Color, bool) + func (s *Style) Invisible() bool + func (s *Style) Italic() bool + func (s *Style) Reverse() bool + func (s *Style) Strikethrough() bool + func (s *Style) Underline() bool