loading

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: 7 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{}

func (KeyMap) FullHelp

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

func (KeyMap) ShortHelp

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

type State

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

func New

func New(message, subtitle string) *State

func (*State) Backable

func (s *State) Backable() bool

func (*State) Init

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

func (*State) Intermediate

func (s *State) Intermediate() bool

func (*State) KeyMap

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

func (*State) Resize

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

func (*State) SetMessage

func (s *State) SetMessage(message string)

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