components

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2026 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Item

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

func NewItem

func NewItem(title, description string) Item

func (Item) Description

func (i Item) Description() string

func (Item) FilterValue

func (i Item) FilterValue() string

func (Item) Title

func (i Item) Title() string

type Model

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

func LaunchSessionList

func LaunchSessionList(items []list.Item) Model

func (Model) Current

func (m Model) Current() int

func (Model) Init

func (m Model) Init() tea.Cmd

func (*Model) Refresh

func (m *Model) Refresh(items []models.Session)

func (Model) Update

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

func (Model) View

func (m Model) View() tea.View

type ModelCmdList

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

func LaunchCommandList

func LaunchCommandList() ModelCmdList

func (ModelCmdList) Current

func (m ModelCmdList) Current() string

func (*ModelCmdList) Filter

func (m *ModelCmdList) Filter(term string)

func (ModelCmdList) Height

func (m ModelCmdList) Height() int

func (ModelCmdList) Init

func (m ModelCmdList) Init() tea.Cmd

func (ModelCmdList) StringView

func (m ModelCmdList) StringView() string

func (ModelCmdList) Update

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

func (ModelCmdList) View

func (m ModelCmdList) View() tea.View

Jump to

Keyboard shortcuts

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