Versions in this module Expand all Collapse all v1 v1.1.0 Nov 8, 2022 Changes in this version + func ClearScreen() type Canvas + func (cnv Canvas) DrawSource(pp PointProvider) + func (cnv Canvas) EndDraw() + func (cnv Canvas) SetColor(c Color) + func (cnv Canvas) SetDefaultColor() + type PointProvider interface + Provide func() (string, int, int) v1.0.0 Aug 30, 2022 Changes in this version + type Canvas struct + func NewCanvas(start, size Point) (Canvas, error) + func (cnv Canvas) ClearInner() + func (cnv Canvas) DrawBoxWithTitle(title string) error + func (cnv Canvas) DrawColoredBoxWithTitle(title string, boxColor Color, textColor Color) error + func (cnv Canvas) DrawColoredText(text string, point Point, color Color) + func (cnv Canvas) DrawPath(sym string, points []Point) + func (cnv Canvas) DrawText(text string, point Point) + func (cnv Canvas) Size() Point + type Color int + const ColorBlack + const ColorBlue + const ColorCyan + const ColorGreen + const ColorMagenta + const ColorRed + const ColorReset + const ColorWhite + const ColorYellow + func (color Color) String() string + type Point struct + Column int + Line int