tui

package
v0.1.0-p8a.1 Latest Latest
Warning

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

Go to latest
Published: Aug 10, 2026 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

Package tui contains the bounded Bubble Tea feasibility model admitted by P0.5. Command wiring and the polished application shell remain P4 work.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CommandErrorMsg

type CommandErrorMsg struct {
	Operation string
	Err       error
}

type DeltaMsg

type DeltaMsg struct {
	Delta frontend.Delta
}

type Model

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

Model proves the selected framework against the admitted controller boundary. It intentionally has no runtime pointer and no command entrypoint.

func NewModel

func NewModel(controller frontend.Controller, snapshot frontend.ThreadSnapshot) (*Model, error)

func (*Model) ComposerValue

func (m *Model) ComposerValue() string

func (*Model) Dimensions

func (m *Model) Dimensions() (int, int)

func (*Model) Init

func (m *Model) Init() tea.Cmd

func (*Model) Snapshot

func (m *Model) Snapshot() frontend.ThreadSnapshot

func (*Model) Update

func (m *Model) Update(message tea.Msg) (tea.Model, tea.Cmd)

func (*Model) View

func (m *Model) View() string

type SnapshotMsg

type SnapshotMsg struct {
	Snapshot frontend.ThreadSnapshot
	Err      error
}

Jump to

Keyboard shortcuts

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