inputs

package
v1.46.7 Latest Latest
Warning

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

Go to latest
Published: Jun 7, 2026 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Send

func Send(message string) (value string, err error)

func SendPrefixed added in v1.45.12

func SendPrefixed(message string, prefix string) (value string, err error)

func Sendf

func Sendf(format string, vars ...any) (value string, err error)

Types

type Model

type Model struct {
	Prompt         string
	Value          string
	Prefix         string
	ClipboardError error
}

func (*Model) Init

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

func (*Model) Update

func (model *Model) Update(message tea.Msg) (tea.Model, tea.Cmd)

func (*Model) View

func (model *Model) View() string

Jump to

Keyboard shortcuts

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