Documentation ¶
Index ¶
- type Terminal
- func (t *Terminal) Apply(leds []color.Color) error
- func (t *Terminal) At(position int) color.Color
- func (t *Terminal) Close() error
- func (t *Terminal) Geometry() (width, height int)
- func (t *Terminal) GetBrightness() int
- func (t *Terminal) Init()
- func (t *Terminal) Render() error
- func (t *Terminal) Set(position int, c color.Color)
- func (t *Terminal) SetBrightness(brightness int)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Terminal ¶
func NewTerminal ¶
func (*Terminal) GetBrightness ¶
Those new functions have no use with the emulator
func (*Terminal) Init ¶
func (t *Terminal) Init()
Init initialize the emulator, creating a new Window and waiting until is painted. If something goes wrong the function panics
func (*Terminal) SetBrightness ¶
Click to show internal directories.
Click to hide internal directories.