Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Point ¶
type Point struct{ X, Y int }
Point is a 2D coordinate in console.
X is the column Y is the row
type Rect ¶
type Rect struct{ Min, Max Point }
Rect is a 2D rectangle in console, excluding Max edge.
type Screen ¶
type Screen struct {
// contains filtered or unexported fields
}
Screen is a writable area on screen.
func NewScreen ¶
func NewScreen() (*Screen, error)
NewScreen returns a new screen, only one screen can be use at a time.
func (*Screen) Flush ¶
func (screen *Screen) Flush() error
Flush flushes pending content to the console and clears for new frame.
Click to show internal directories.
Click to hide internal directories.