prompt

package
v1.0.21 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func TextArea

func TextArea(prompt, placeholder, value string) (string, error)

func TextInput

func TextInput(prompt, placeholder, value string) (string, error)

Types

type SpinnerT added in v0.99.0

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

func Spinner

func Spinner(text string) *SpinnerT

func StoppedSpinner

func StoppedSpinner(text string) *SpinnerT

func (*SpinnerT) Init added in v0.99.0

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

func (*SpinnerT) Start added in v0.99.0

func (m *SpinnerT) Start()

func (*SpinnerT) Stop added in v0.99.0

func (m *SpinnerT) Stop()

func (*SpinnerT) Text added in v0.99.0

func (m *SpinnerT) Text(t string)

func (*SpinnerT) Update added in v0.99.0

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

func (*SpinnerT) View added in v0.99.0

func (m *SpinnerT) View() string

Jump to

Keyboard shortcuts

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