Documentation
¶
Overview ¶
Package framebuffer stores the current terminal state and return the ansi sequences require to transform the current state to the new one
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Framebuffer ¶
Framebuffer is an Area that retains the state since the last time Changes was called. It is responsability of the implementator to call Changes() periodically (as of 60 frames per second) or sync manually after each change.
func (*Framebuffer) Changes ¶
func (fb *Framebuffer) Changes() []byte
Changes will return the ansi sequence
Click to show internal directories.
Click to hide internal directories.