root

package
v0.34.0 Latest Latest
Warning

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

Go to latest
Published: Jan 24, 2026 License: MIT Imports: 37 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MenuOption struct {
	// contains filtered or unexported fields
}
func (i MenuOption) FilterValue() string
func (i MenuOption) Title() string

type RootModel

type RootModel struct {
	// contains filtered or unexported fields
}

func RootScreen

func RootScreen() RootModel

RootScreen creates the root model using the default renderer. This is used for local terminal execution.

func RootScreenWithRenderer added in v0.34.0

func RootScreenWithRenderer(lg *lipgloss.Renderer, width, height int) RootModel

RootScreenWithRenderer creates the root model using a custom renderer. This is used for SSH sessions where the renderer must be session-aware to properly detect the client's terminal capabilities.

func (RootModel) Init

func (m RootModel) Init() tea.Cmd

func (RootModel) Update

func (m RootModel) Update(msg tea.Msg) (tea.Model, tea.Cmd)

func (RootModel) View

func (m RootModel) View() string

Jump to

Keyboard shortcuts

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