tui

package
v0.6.9-alpha.9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 9, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddGlobalHandler

func AddGlobalHandler(path string, handler func(events.Event))

func AddWidgetHandler

func AddWidgetHandler(widget tview.Primitive, path string, handler func(events.Event))

func Clear

func Clear()

func ClearGlobalHandlers

func ClearGlobalHandlers()

func ClearWidgetHandlers

func ClearWidgetHandlers(widget tview.Primitive)

func Draw

func Draw()

func GetApp

func GetApp() (a *app.App)

func GetFocus

func GetFocus() (p tview.Primitive)

func GetRootView

func GetRootView() tview.Primitive

func Log

func Log(level string, data any)

func QueueUpdate

func QueueUpdate(f func())

func QueueUpdateDraw

func QueueUpdateDraw(f func())

func RemoveGlobalHandler

func RemoveGlobalHandler(path string)

func RemoveWidgetHandler

func RemoveWidgetHandler(widget tview.Primitive, path string)

func SendCustomEvent

func SendCustomEvent(path string, data any)

func SetApp

func SetApp(a *app.App)

func SetFocus

func SetFocus(p tview.Primitive)

func SetRootView

func SetRootView(v tview.Primitive)

func Stop

func Stop()

func Tell

func Tell(level string, data any)

func Unfocus

func Unfocus()

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.
ls
Package mux implements a request router and dispatcher.
Package mux implements a request router and dispatcher.
Package tview implements rich widgets for terminal based user interfaces.
Package tview implements rich widgets for terminal based user interfaces.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL