listwrapper

package
v0.0.0-...-a0a6b0b Latest Latest
Warning

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

Go to latest
Published: Sep 17, 2023 License: Unlicense Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type KeyMap

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

func (*KeyMap) FullHelp

func (k *KeyMap) FullHelp() [][]key.Binding

func (*KeyMap) ShortHelp

func (k *KeyMap) ShortHelp() []key.Binding

type MsgNotify

type MsgNotify string

type State

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

func New

func New(list list.Model) *State

func (*State) Backable

func (s *State) Backable() bool

func (*State) FilterState

func (s *State) FilterState() list.FilterState

func (*State) GetKeyMap

func (s *State) GetKeyMap() *KeyMap

func (*State) Init

func (s *State) Init(model base.Model) tea.Cmd

func (*State) Intermediate

func (s *State) Intermediate() bool

func (*State) Items

func (s *State) Items() []list.Item

func (*State) KeyMap

func (s *State) KeyMap() help.KeyMap

func (*State) Notify

func (s *State) Notify(message string, duration time.Duration) tea.Cmd

func (*State) Resize

func (s *State) Resize(size base.Size) tea.Cmd

func (*State) SelectedItem

func (s *State) SelectedItem() list.Item

func (*State) Status

func (s *State) Status() string

func (*State) Subtitle

func (s *State) Subtitle() string

func (*State) Title

func (s *State) Title() base.Title

func (*State) Update

func (s *State) Update(model base.Model, msg tea.Msg) (cmd tea.Cmd)

func (*State) View

func (s *State) View(model base.Model) string

Jump to

Keyboard shortcuts

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