Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HideCursor ¶
func ShowCursor ¶
func TriggerConsoleCSI ¶
Types ¶
type CloseChan ¶
type CloseChan struct {
// contains filtered or unexported fields
}
func NewCloseChan ¶
func NewCloseChan() *CloseChan
type Renderer ¶
type Renderer struct {
// contains filtered or unexported fields
}
Renderer is a timer-based Renderer, updating the view at a given framerate to avoid overloading the terminal emulator.
In cases where very high performance is needed the Renderer can be told to exclude ranges of lines, allowing them to be written to directly.
func NewRenderer ¶
newRenderer creates a new Renderer. Normally you'll want to initialize it with os.Stdout as the first argument.
Click to show internal directories.
Click to hide internal directories.