tui

package
v1.20.1 Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2026 License: Apache-2.0 Imports: 35 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(ctx context.Context, a *app.App) tea.Model

New creates and initializes a new TUI application model

Types

type KeyMap

type KeyMap struct {
	Quit                  key.Binding
	Suspend               key.Binding
	CommandPalette        key.Binding
	ToggleYolo            key.Binding
	ToggleHideToolResults key.Binding
	CycleAgent            key.Binding
	ModelPicker           key.Binding
	Speak                 key.Binding
	ClearQueue            key.Binding
}

KeyMap defines global key bindings

func DefaultKeyMap

func DefaultKeyMap() KeyMap

DefaultKeyMap returns the default global key bindings

Directories

Path Synopsis
Package animation provides centralized animation tick management for the TUI.
Package animation provides centralized animation tick management for the TUI.
Package cmdbatch provides a fluent builder for batching tea.Cmd values.
Package cmdbatch provides a fluent builder for batching tea.Cmd values.
components
markdown
Package markdown provides a high-performance markdown renderer for terminal output.
Package markdown provides a high-performance markdown renderer for terminal output.
tab
Package messages defines all TUI message types organized by domain.
Package messages defines all TUI message types organized by domain.
page
Package subscription provides patterns for external event sources in the TUI.
Package subscription provides patterns for external event sources in the TUI.

Jump to

Keyboard shortcuts

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