Versions in this module Expand all Collapse all v0 v0.7.0 Feb 24, 2019 Changes in this version + type ColorMode int + const ColorMode216 + const ColorMode256 + const ColorModeGrayscale + const ColorModeNormal + func (cm ColorMode) String() string + type Error string + func NewError(e string) *Error + func NewErrorf(format string, args ...interface{}) *Error + func (e *Error) Error() error + func (e Error) String() string + type Event interface + type Keyboard struct + Key keyboard.Key + func (k Keyboard) String() string + type Mouse struct + Button mouse.Button + Position image.Point + func (m Mouse) String() string + type Resize struct + Size image.Point + func (r Resize) String() string + type Terminal interface + Clear func(opts ...cell.Option) error + Event func(ctx context.Context) Event + Flush func() error + HideCursor func() + SetCell func(p image.Point, r rune, opts ...cell.Option) error + SetCursor func(p image.Point) + Size func() image.Point