textInput

package
v0.0.0-...-c8397f0 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CHARLIMIT = 156
	WIDTH     = 20
)

Variables

View Source
var QuitTextStyle = lipgloss.NewStyle().
	Margin(1, 0, 2, 4)

Functions

func NewTextInput

func NewTextInput(prompt string, placeholder string, output *string) model

NewTextInput returns a Bubble Tea application that implements the RunnableQuestion interface. When the application is ran using the Run method, it will provide the user an interface where they can provide an answer using text.

Types

This section is empty.

Jump to

Keyboard shortcuts

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