textinput

package
v3.48.0 Latest Latest
Warning

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

Go to latest
Published: Aug 11, 2023 License: AGPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TextInput

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

func New

func New(placeholder string) TextInput

func (TextInput) Init

func (m TextInput) Init() tea.Cmd

func (TextInput) Update

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

func (TextInput) View

func (m TextInput) View() string

Jump to

Keyboard shortcuts

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