tui

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2026 License: GPL-3.0 Imports: 15 Imported by: 0

Documentation

Overview

Package tui provides a Bubble Tea terminal UI for subenum.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Start

func Start() int

Start runs the TUI and returns an exit code (0 = ok, 1 = error).

Types

type Model

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

Model is the root Bubble Tea model.

func New

func New() Model

New creates the root model starting on the form screen.

func (Model) Init

func (m Model) Init() tea.Cmd

Init satisfies tea.Model.

func (Model) Update

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

Update satisfies tea.Model.

func (Model) View

func (m Model) View() string

View satisfies tea.Model.

Jump to

Keyboard shortcuts

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