tui

package
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run() error

Run starts the TUI application.

Types

type AppModel

type AppModel struct {
	// contains filtered or unexported fields
}

AppModel is the root Bubble Tea model.

func (*AppModel) Init

func (a *AppModel) Init() tea.Cmd

Init initialises the first tab.

func (*AppModel) Update

func (a *AppModel) Update(msg tea.Msg) (tea.Model, tea.Cmd)

Update handles global navigation and forwards messages to the active tab.

func (*AppModel) View

func (a *AppModel) View() string

View renders the tab bar followed by the active tab's content.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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