localtea

package
v1.2.14 Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2024 License: LGPL-2.1 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type InputWizardModel

type InputWizardModel struct {
	TextInput textinput.Model
	Err       error
}
var GlobalInputWizardModel InputWizardModel

func InitialInputModel

func InitialInputModel() InputWizardModel

func (InputWizardModel) Init

func (m InputWizardModel) Init() tea.Cmd

func (InputWizardModel) Update

func (m InputWizardModel) Update(msg tea.Msg) (tea.Model, tea.Cmd)

func (InputWizardModel) View

func (m InputWizardModel) View() string

type WizardModel

type WizardModel struct {
	Choices []string // items on the to-do list
	Cursor  int      // which to-do list item our Cursor is pointing at

}
var GlobalWizardModel WizardModel

func InitialOptionModel

func InitialOptionModel(options []string) WizardModel

func (WizardModel) Init

func (m WizardModel) Init() tea.Cmd

func (WizardModel) Update

func (m WizardModel) Update(msg tea.Msg) (tea.Model, tea.Cmd)

func (WizardModel) View

func (m WizardModel) View() string

Jump to

Keyboard shortcuts

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