input

package
v0.9.9 Latest Latest
Warning

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

Go to latest
Published: Jan 8, 2026 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Show

func Show() tea.Cmd

func ShowWithTitle

func ShowWithTitle(title string, prompt string) tea.Cmd

Types

type CancelledMsg

type CancelledMsg struct{}

type Model

type Model struct {
	*common.ViewNode
	// contains filtered or unexported fields
}

func New

func New() *Model

func NewWithTitle

func NewWithTitle(title string, prompt string) *Model

func (*Model) FullHelp

func (m *Model) FullHelp() [][]key.Binding

func (*Model) Init

func (m *Model) Init() tea.Cmd

func (*Model) ShortHelp

func (m *Model) ShortHelp() []key.Binding

func (*Model) Update

func (m *Model) Update(msg tea.Msg) tea.Cmd

func (*Model) View

func (m *Model) View() string

type SelectedMsg

type SelectedMsg struct {
	Value string
}

Jump to

Keyboard shortcuts

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