list

package
v1.20.1 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2022 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type List

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

func New

func New(theme *theme.Theme) List

func (*List) Height

func (list *List) Height() int

func (*List) Init

func (list *List) Init() tea.Cmd

func (*List) IsEmpty added in v1.20.0

func (list *List) IsEmpty() bool

func (*List) SelectedEntry

func (list *List) SelectedEntry() entry.Entry

func (*List) SetHeight

func (list *List) SetHeight(height int)

func (*List) SetWidth

func (list *List) SetWidth(width int)

func (*List) Theme

func (list *List) Theme() *theme.Theme

func (*List) Update

func (list *List) Update(msg tea.Msg) (List, tea.Cmd)

func (*List) View

func (list *List) View() string

func (*List) Width

func (list *List) Width() int

Jump to

Keyboard shortcuts

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