tui

package
v0.1.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

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