Documentation ¶
Index ¶
Constants ¶
View Source
const ( SPIN_NUM_TRIES = 3 SPIN_THRESHOLD = 1 * time.Second )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CmdOptions ¶
type Renderer ¶
type Renderer struct {
// contains filtered or unexported fields
}
A Renderer produces the stream of bytes necessary to render a Screen to a destination terminal. Conceptually, it is the opposite of a Screen, which takes an IO and feeds it to a virtual terminal emulator. A Renderer takes a Screen and makes an IO. This is useful because an IO may produce many more writes than are actually necessary to change the screen; a Renderer can make optimizations to only update the parts of the screen that have changed.
func NewRenderer ¶
Click to show internal directories.
Click to hide internal directories.