tui

package
v0.3.3 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2025 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Confirm added in v0.2.0

func Confirm(message string) (bool, error)

Confirm shows a yes/no confirmation prompt and returns true if the user selects Yes.

func MultiSelect

func MultiSelect(items []Item) ([]string, error)

MultiSelect shows a multi-select fuzzy finder and returns the selected items' values.

func Select

func Select(items []Item) (string, error)

Select shows a single-select fuzzy finder and returns the selected item's value.

Types

type Item

type Item struct {
	Label string
	Value string
}

Jump to

Keyboard shortcuts

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