tui

package
v0.0.7 Latest Latest
Warning

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

Go to latest
Published: May 1, 2026 License: BSD-3-Clause Imports: 13 Imported by: 0

Documentation

Overview

Package tui is the bubbletea-driven interactive launcher. It renders a generic navigable menu stack described by internal/menu; each entry on the stack comes from either the root client picker (built from internal/clients) or a sub-menu pushed by a client's action closure. The TUI owns only the preflight HTTP check, a single-line text input step, and error screens — everything else is expressed as Menu values.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewModel

func NewModel(g *config.Global, buildVersion string) tea.Model

NewModel returns the TUI model. g holds the persisted launcher state (settings, endpoints, last launch). buildVersion is shown at the bottom of the client picker.

Types

This section is empty.

Jump to

Keyboard shortcuts

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