prompt

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Model

type Model struct {
	Visible bool
	// contains filtered or unexported fields
}

func New

func New(visible bool, width, height int, text []string) Model

func (Model) ProceedIsSelected

func (m Model) ProceedIsSelected() bool

func (*Model) SetWidthAndHeight

func (m *Model) SetWidthAndHeight(width, height int)

func (Model) Update

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

func (Model) View

func (m Model) View() string

Jump to

Keyboard shortcuts

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