multiInput

package
v0.0.0-...-a1a1c7b Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package multiInput provides functions that help define and draw a multi-input step

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitialModelMulti

func InitialModelMulti(choices []steps.Item, selection *Selection, header string, program *program.Project) model

InitialModelMulti initializes a multiInput step with the given data

Types

type Selection

type Selection struct {
	Choice string
}

A Selection represents a choice made in a multiInput step

func (*Selection) Update

func (s *Selection) Update(value string)

Update changes the value of a Selection's Choice

Jump to

Keyboard shortcuts

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