package
0.20.0
Repository: https://github.com/mum4k/termdash.git
Documentation: pkg.go.dev

# Functions

NewError returns a new Error event.
NewErrorf returns a new Error event, arguments are similar to fmt.Sprintf.

# Constants

ColorMode216 supports only the third range of the ColorMode256, i.e the 216 different terminal colors.
ColorMode256 enables using any of the 256 terminal colors.
ColorModeGrayscale supports only the fourth range of the ColorMode256, i.e the 24 different shades of grey.
ColorModeNormal supports 16 Xterm colors.

# Structs

Keyboard is the event used when a key is pressed.
Mouse is the event used when the mouse is moved or a mouse button is pressed.
Resize is the event used when the terminal was resized.

# Interfaces

Event represents an input event.
Terminal abstracts an implementation of a 2-D terminal.

# Type aliases

ColorMode represents a color mode of a terminal.
Error is an event indicating an error while processing input.