prompt

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Apr 6, 2026 License: Apache-2.0 Imports: 5 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Prompt

type Prompt struct {
	bubbly.PromptWriter
	tea.Model

	*textinput.TextInput
	// contains filtered or unexported fields
}

func New

func New(prompter bubbly.PromptWriter) *Prompt

func (*Prompt) RunPrompt

func (m *Prompt) RunPrompt() (string, error)

func (*Prompt) Update

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

func (*Prompt) View

func (m *Prompt) View() string

Jump to

Keyboard shortcuts

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