Versions in this module Expand all Collapse all v0 v0.1.0 Feb 28, 2025 Changes in this version + const CSI + const ESC + func AddStyle(f FontType) + func Background(c Color) + func DefaultBackground() + func DefaultForeground() + func Error(a ...any) + func ErrorWriter() io.Writer + func Errorf(format string, a ...any) + func Errorln(a ...any) + func Foreground(c Color) + func Print(a ...any) + func Printf(format string, a ...any) + func Println(a ...any) + func RemoveStyle(f FontType) + func ResetBackground() + func ResetFont() + func ResetForeground() + func SetDefaultCursor(c *Cursor) + func SetErrorCursor(c *Cursor) + func SetFont(f FontType) + func Write[T string | []byte](t T) + func Writer() io.Writer + type Color interface + Background func() string + Foreground func() string + type Cursor struct + Font FontType + Level supportscolor.ColorLevel + func DefaultCursor() *Cursor + func ErrorCursor() *Cursor + func NewCursor(w io.Writer) *Cursor + func (c *Cursor) Background(k Color) + func (c *Cursor) DefaultBackground() + func (c *Cursor) DefaultForeground() + func (c *Cursor) Foreground(k Color) + func (c *Cursor) Print(a ...any) + func (c *Cursor) Printf(format string, a ...any) + func (c *Cursor) Println(a ...any) + func (c *Cursor) ResetBackground() + func (c *Cursor) ResetForeground() + func (c *Cursor) SetWriter(w io.Writer) + func (c *Cursor) Writer() io.Writer + type FontType int + const BlinkFont + const BoldFont + const CrossOutFont + const ItalicFont + const LightFont + const ReversedFont + const UnderlineFont + func Font() FontType + func (f FontType) Has(s FontType) bool