ui

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Jul 9, 2026 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type App

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

App is the top-level Bubble Tea model and the screen router. It owns the three sub-screens (menu, speed test, monitor) and routes messages between them. The sub-models no longer implement tea.Model themselves — they expose Start/Update/View and this router drives them, keeping a single point of control for quit + back-to-menu navigation.

func NewApp

func NewApp(t apptheme.Theme, compact bool) *App

NewApp builds the root model for the riptide TUI.

func (*App) Init

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

func (*App) Update

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

func (*App) View

func (a *App) View() string

Jump to

Keyboard shortcuts

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