Help us shape the future of Go! Take the 2026 Go Developer Survey

layout

package
v1.109.0 Latest Latest
Warning

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

Go to latest
Published: Jul 15, 2026 License: Apache-2.0 Imports: 3 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CollapsedViewer

type CollapsedViewer interface {
	CollapsedView() string
}

CollapsedViewer is implemented by components that provide a simplified view for use in collapsed reasoning blocks.

type Focusable

type Focusable interface {
	Focus() tea.Cmd
	Blur() tea.Cmd
}

Focusable represents components that can receive focus

type Help

type Help interface {
	Bindings() []key.Binding
	Help() help.KeyMap
}

Help represents components that provide help information

type Model

type Model interface {
	Init() tea.Cmd
	Update(msg tea.Msg) (Model, tea.Cmd)
	View() string
	Sizeable
}

Model is the base interface for all TUI models

type Positionable

type Positionable interface {
	SetPosition(x, y int) tea.Cmd
}

type Sizeable

type Sizeable interface {
	SetSize(width, height int) tea.Cmd
}

Sizeable represents components that can be resized

Jump to

Keyboard shortcuts

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