Versions in this module Expand all Collapse all v0 v0.7.0 Feb 24, 2019 Changes in this version + type Buffer [][]*Cell + func NewBuffer(size image.Point) (Buffer, error) + func (b Buffer) IsPartial(p image.Point) (bool, error) + func (b Buffer) RemWidth(p image.Point) (int, error) + func (b Buffer) SetCell(p image.Point, r rune, opts ...Option) (int, error) + func (b Buffer) Size() image.Point + type Cell struct + Opts *Options + Rune rune + func New(r rune, opts ...Option) *Cell + func (c *Cell) Apply(opts ...Option) + func (c *Cell) Copy() *Cell + type Color int + const ColorBlack + const ColorBlue + const ColorCyan + const ColorDefault + const ColorGreen + const ColorMagenta + const ColorRed + const ColorWhite + const ColorYellow + func ColorNumber(n int) Color + func ColorRGB24(r, g, b int) Color + func ColorRGB6(r, g, b int) Color + func (cc Color) String() string + type Option interface + func BgColor(color Color) Option + func FgColor(color Color) Option + type Options struct + BgColor Color + FgColor Color + func NewOptions(opts ...Option) *Options