sublist

package
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: May 14, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(s *state.State) tea.Model

Types

type SubListItem

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

func (SubListItem) Description

func (i SubListItem) Description() string

func (SubListItem) FilterValue

func (i SubListItem) FilterValue() string

func (SubListItem) Title

func (i SubListItem) Title() string

type SubListModel

type SubListModel struct {
	List list.Model
	// contains filtered or unexported fields
}

func NewSubListModel

func NewSubListModel(s *state.State) SubListModel

func (SubListModel) Init

func (m SubListModel) Init() tea.Cmd

func (SubListModel) Update

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

func (SubListModel) View

func (m SubListModel) View() string

Jump to

Keyboard shortcuts

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