Documentation
¶
Overview ¶
Common interfaces implemented by backends to abstract terminal / console interaction.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Terminal ¶
type Terminal interface { draw.Surface // Clear clears the entire console surface and replace cell by empty black one. Clear() // Flush flushes the cell buffer. Flush() // Start initializes the console for use. This starts the event loop and rendering. Start(chan<- events.Event) error // Stop deinitializes the console. Stop() }
Terminal define a generic terminal in raw mode used for rendering and event loops.
Click to show internal directories.
Click to hide internal directories.