ui

package
v0.5.1-alpha Latest Latest
Warning

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

Go to latest
Published: Aug 28, 2023 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CommitPrompt

func CommitPrompt(config pkg.Config, gitmojis []pkg.Gitmoji, initialValues pkg.InitialCommitValues, isBreaking bool) pkg.CommitValues

func ConfirmationRun

func ConfirmationRun(title string) bool

func ListRun

func ListRun[K interface{ FilterValue() string }](settings ListSettings, input []K) K

func TextInputsRun

func TextInputsRun(title string, textInputsData []pkg.TextInputData) []pkg.TextInputRes

Types

type ListSettings

type ListSettings struct {
	Title              string
	IsFilteringEnabled bool
	IsShowStatusBar    bool
}

type Spinner

type Spinner struct {
	// contains filtered or unexported fields
}

func NewSpinner

func NewSpinner() Spinner

func (*Spinner) Run

func (s *Spinner) Run()

func (*Spinner) Stop

func (s *Spinner) Stop()

Jump to

Keyboard shortcuts

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