settings

package
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: May 14, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(c *config.Config) error

Types

type ListInputModel

type ListInputModel struct {
	Title string
	Input textinput.Model
	// contains filtered or unexported fields
}

func (ListInputModel) Init

func (m ListInputModel) Init() tea.Cmd

func (ListInputModel) Update

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

func (ListInputModel) View

func (m ListInputModel) View() string

type ListItem

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

func (ListItem) Description

func (i ListItem) Description() string

func (ListItem) FilterValue

func (i ListItem) FilterValue() string

func (ListItem) Title

func (i ListItem) Title() string

type ListModel

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

func NewListModel

func NewListModel(cfg *config.Config) ListModel

func (ListModel) Init

func (m ListModel) Init() tea.Cmd

func (ListModel) Update

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

func (ListModel) View

func (m ListModel) View() string

Jump to

Keyboard shortcuts

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