Documentation
¶
Index ¶
- type BoxButton
- func (b *BoxButton) Blur()
- func (b *BoxButton) Draw(screen tcell.Screen)
- func (b *BoxButton) Focus(delegate func(tview.Primitive))
- func (b *BoxButton) GetWidth() int
- func (b *BoxButton) HasFocus() bool
- func (b *BoxButton) InputHandler() func(*tcell.EventKey, func(tview.Primitive))
- func (bb *BoxButton) NewBoxButton(label string) *BoxButton
- func (b *BoxButton) SetSelectedFunc(handler func()) *BoxButton
- type Theme
- type UI
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BoxButton ¶
func (*BoxButton) InputHandler ¶
InputHandler returns the handler for input events (e.g., simulating button clicks).
func (*BoxButton) NewBoxButton ¶
func (*BoxButton) SetSelectedFunc ¶
type UI ¶
type UI struct { App *tview.Application Flex *tview.Flex Connections *tview.List Destinations *tview.List Messages *tview.List Content *tview.TextView Logs *tview.TextView Send *BoxButton Close *BoxButton // contains filtered or unexported fields }
UI implement terminal user interface features.
func NewUI ¶
func NewUI(controller *asb.Controller) *UI
Click to show internal directories.
Click to hide internal directories.