tui

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Jan 4, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func TermSize

func TermSize() (int, int)

Types

type Item

type Item struct {
	audible.Product
}

func NewItem

func NewItem(p audible.Product) 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 List

type List struct {
	list.Model
	*audible.ProductsResponse
}

func New

func New(products *audible.ProductsResponse) List

func (List) Run

func (l List) Run() []audible.Product

func (List) Update

func (l List) Update(msg tea.Msg) (tea.Model, tea.Cmd)

Jump to

Keyboard shortcuts

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