Versions in this module Expand all Collapse all v1 v1.0.3 Apr 5, 2024 Changes in this version + const BACKGROUND + const BACKGROUND_ODD + const BLACK + const BLUE + const BRIGHT_BLACK + const BRIGHT_BLUE + const BRIGHT_CYAN + const BRIGHT_GREEN + const BRIGHT_PURPLE + const BRIGHT_RED + const BRIGHT_WHITE + const BRIGHT_YELLOW + const CSI + const CURSOR + const CYAN + const ESC + const FOREGROUND + const GRAY + const GREEN + const PURPLE + const RED + const ResetSeq + const SELECTION_BACKGROUND + const WHITE + const YELLOW + var TEXT_STYLE = NewStyle(WHITE, "", false) + var TEXT_STYLE_ODD = NewStyle(GRAY, "", false) + func Run(m Model) + type Color struct + func Hex(scol string) Color + type Grid struct + Rows []GridRow + func (g Grid) String() string + type GridCell struct + Align int + Plain bool + Style Style + Text string + Width int + type GridRow struct + Cells []GridCell + Padding int + func (r GridRow) String() string + type Model interface + View func(m Model) string + type Style struct + func NewStyle(f, b string, bld bool) Style + func (s Style) Convert(t string) string + func (s Style) Debug() string