components

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jun 14, 2026 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var COMMANDS = []item{
	{/* contains filtered or unexported fields */},
	{/* contains filtered or unexported fields */},
	{/* contains filtered or unexported fields */},
	{/* contains filtered or unexported fields */},
	{/* contains filtered or unexported fields */},
	{/* contains filtered or unexported fields */},
	{/* contains filtered or unexported fields */},
	{/* contains filtered or unexported fields */},
	{/* contains filtered or unexported fields */},
	{/* contains filtered or unexported fields */},
	{/* contains filtered or unexported fields */},
	{/* contains filtered or unexported fields */},
}

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) Reset added in v0.1.15

func (m ModelCmdList) Reset()

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

type ModelModelsList added in v0.1.8

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

func LaunchModelsList added in v0.1.8

func LaunchModelsList() ModelModelsList

func (ModelModelsList) Current added in v0.1.8

func (m ModelModelsList) Current() api.ModelInfo

func (*ModelModelsList) Filter added in v0.1.8

func (m *ModelModelsList) Filter(term string)

func (*ModelModelsList) GetHeight added in v0.1.13

func (m *ModelModelsList) GetHeight() int

func (ModelModelsList) Height added in v0.1.8

func (m ModelModelsList) Height() int

func (ModelModelsList) Init added in v0.1.8

func (m ModelModelsList) Init() tea.Cmd

func (ModelModelsList) NextPage added in v0.1.13

func (m ModelModelsList) NextPage()

func (ModelModelsList) PrevPage added in v0.1.13

func (m ModelModelsList) PrevPage()

func (*ModelModelsList) Refresh added in v0.1.8

func (m *ModelModelsList) Refresh(items []api.ModelInfo)

func (ModelModelsList) StringView added in v0.1.8

func (m ModelModelsList) StringView() string

func (ModelModelsList) Update added in v0.1.8

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

func (ModelModelsList) View added in v0.1.8

func (m ModelModelsList) View() tea.View

Jump to

Keyboard shortcuts

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