tui

package
v2.34.0 Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitialRadioButtonModel

func InitialRadioButtonModel(options []string, msg string) *radioButtonModel

InitialRadioButtonModel returns a new model with the given options and message.

Types

type CheckBoxModel added in v2.16.0

type CheckBoxModel struct {
	Selected map[int]struct{} // which to-do items are selected
	// contains filtered or unexported fields
}

func InitialCheckboxModel

func InitialCheckboxModel(options []string, msg string) *CheckBoxModel

func (CheckBoxModel) Init added in v2.16.0

func (m CheckBoxModel) Init() tea.Cmd

func (CheckBoxModel) Update added in v2.16.0

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

func (CheckBoxModel) View added in v2.16.0

func (m CheckBoxModel) View() string

Jump to

Keyboard shortcuts

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