list

package
v0.26.0 Latest Latest
Warning

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

Go to latest
Published: Aug 19, 2026 License: MIT, Apache-2.0 Imports: 1 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(items []string) List

func (*List) Down

func (m *List) Down()

func (*List) Draw

func (m *List) Draw(win vaxis.Window)

func (*List) End

func (m *List) End()

func (*List) Home

func (m *List) Home()

func (*List) Index

func (m *List) Index() int

Returns the index of the currently selected item.

func (*List) PageDown

func (m *List) PageDown(win vaxis.Window)

func (*List) PageUp

func (m *List) PageUp(win vaxis.Window)

func (*List) SetItems

func (m *List) SetItems(items []string)

func (*List) Up

func (m *List) Up()

Jump to

Keyboard shortcuts

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