layout

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2025 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Focusable

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

Focusable represents components that can receive focus

type Heightable

type Heightable interface {
	Model
	Height(width int) int
}

type Help

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

Help represents components that provide help information

type Model

type Model interface {
	tea.Model
	tea.ViewModel
}

Model is the base interface for all TUI models

type Sizeable

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

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