textinput

package
v0.5.14 Latest Latest
Warning

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

Go to latest
Published: May 29, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

Package textinput provides functions that help define and draw a text-input step

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateErrorInputModel added in v0.3.0

func CreateErrorInputModel(err error) model

CreateErrorInputModel creates a textinput step with the given error

func InitialTextInputModel

func InitialTextInputModel(output *Output, header string, program *program.Project) model

InitialTextInputModel initializes a textinput step with the given data

Types

type Output

type Output struct {
	Output string
}

Output represents the text provided in a textinput step

Jump to

Keyboard shortcuts

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