Documentation ¶
Index ¶
- func AddGlobalHandler(path string, handler func(events.Event))
- func AddWidgetHandler(widget tview.Primitive, path string, handler func(events.Event))
- func Clear()
- func ClearWidgetHandlers(widget tview.Primitive)
- func Draw()
- func GetApp() (a *app.App)
- func GetFocus() (p tview.Primitive)
- func GetRootView() tview.Primitive
- func Log(level string, data any)
- func QueueUpdate(f func())
- func QueueUpdateDraw(f func())
- func RemoveGlobalHandler(path string)
- func RemoveWidgetHandler(widget tview.Primitive, path string)
- func SendCustomEvent(path string, data any)
- func SetApp(a *app.App)
- func SetFocus(p tview.Primitive)
- func SetRootView(v tview.Primitive)
- func StatusMessage(data any)
- func Stop()
- func Tell(level string, data any)
- func Unfocus()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddGlobalHandler ¶
func AddWidgetHandler ¶
func ClearWidgetHandlers ¶
func GetRootView ¶
func QueueUpdate ¶
func QueueUpdate(f func())
func QueueUpdateDraw ¶
func QueueUpdateDraw(f func())
func RemoveGlobalHandler ¶
func RemoveGlobalHandler(path string)
func RemoveWidgetHandler ¶
func SendCustomEvent ¶
func SetRootView ¶
func StatusMessage ¶
func StatusMessage(data any)
Types ¶
This section is empty.
Directories ¶
Path | Synopsis |
---|---|
hoc
|
|
layouts/panels
Panels Layout is a Flex widget with hidable panels and a main content.
|
Panels Layout is a Flex widget with hidable panels and a main content. |
Package tview implements rich widgets for terminal based user interfaces.
|
Package tview implements rich widgets for terminal based user interfaces. |
Click to show internal directories.
Click to hide internal directories.