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

tui

package
v0.0.0-...-da0c98e Latest Latest
Warning

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

Go to latest
Published: Jun 11, 2026 License: MIT Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run() error

Run launches the Bubble Tea program in the alternate screen buffer.

Types

type Model

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

Model is the single immutable app state (Elm architecture).

func New

func New() Model

New builds the initial model with forms pre-filled with sensible defaults.

func (Model) Init

func (m Model) Init() tea.Cmd

Init kicks off a one-shot catalog load (so the estimate form can offer type/material pickers) and a prefs load (default escalation year).

func (Model) Update

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

func (Model) View

func (m Model) View() string

Jump to

Keyboard shortcuts

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