layout

package
v1.150.0 Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2026 License: Apache-2.0 Imports: 3 Imported by: 2 modules, 1 package

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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