tui

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Mar 30, 2026 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(cfg bootstrap.Config, bundle assets.Bundle) error

Run 启动 TUI。

Types

type Model

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

Model 是 TUI 的顶层状态。

func NewModel

func NewModel(rt *orchestrator.Runtime, bridge *askUserBridge) Model

NewModel 创建 TUI Model。

func (Model) Init

func (m Model) Init() tea.Cmd

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