tui

package
v1.10.2 Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2025 License: Apache-2.0 Imports: 23 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
	CommandPalette key.Binding
}

KeyMap defines global key bindings

func DefaultKeyMap

func DefaultKeyMap() KeyMap

DefaultKeyMap returns the default global key bindings

type StartupEventsMsg added in v1.9.14

type StartupEventsMsg struct {
	Events []runtime.Event
}

StartupEventsMsg carries startup events to be processed by the UI

Jump to

Keyboard shortcuts

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