Help us shape the future of Go! Take the 2026 Go Developer Survey

tui

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Aug 31, 2026 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(ctx context.Context, mgr *manager.Manager) error

Run initializes and starts the TUI.

Types

type Model

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

Model is the main TUI application model.

func NewModel

func NewModel(actions managerActions) *Model

NewModel creates a new TUI model.

func (*Model) Init

func (m *Model) Init() tea.Cmd

Init initializes the model.

func (*Model) Update

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

Update handles incoming messages.

func (*Model) View

func (m *Model) View() string

View renders the TUI.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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