Documentation ¶
Overview ¶
Elegant TUI framework.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Application ¶
type Application struct {
// contains filtered or unexported fields
}
Application define a TUI application object.
func (*Application) DoChannel ¶
func (app *Application) DoChannel() chan<- func()
DoChannel returns a write-only channel that can be used to execute function on the main thread. Any write to the channel will enqueue a rendering of widgets tree. Note that rendering is throttled to avoid excessive rendering.
Directories ¶
Path | Synopsis |
---|---|
Common interfaces implemented by backends to abstract terminal / console interaction.
|
Common interfaces implemented by backends to abstract terminal / console interaction. |
Color type and colors constants.
|
Color type and colors constants. |
Backend agnostic drawing interface and utilities.
|
Backend agnostic drawing interface and utilities. |
Event and Target definition and implementation.
|
Event and Target definition and implementation. |
examples
|
|
calc
Module
|
|
clock
Module
|
|
counter
Module
|
|
helloworld
Module
|
|
pager
Module
|
|
perf
Module
|
|
ptop
Module
|
|
Geometry utilities.
|
Geometry utilities. |
Layout related types and utilities.
|
Layout related types and utilities. |
Package tree provides a generic Node interface to build tree data structures.
|
Package tree provides a generic Node interface to build tree data structures. |
Widget and Layout definition and implementation.
|
Widget and Layout definition and implementation. |
Click to show internal directories.
Click to hide internal directories.