fuzzyselect

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2022 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrorCancelled = errors.New("fuzzyselect cancelled")
	ErrorNoMatch   = errors.New("no matches to return")
)

Functions

This section is empty.

Types

type Entry

type Entry struct {
	Display []rune
	Id      uint32
}

type FuzzySelect

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

func New

func New(choices []Entry) *FuzzySelect

func (*FuzzySelect) Choose

func (f *FuzzySelect) Choose(s tcell.Screen, lineno, col, w, h int) (*Entry, error)

Jump to

Keyboard shortcuts

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