menu

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const MinSize = 5

MinSize stands for minimal menu size

View Source
const Overhead = 3

Overhead shows how many lines are occupied by menu control elements

Variables

This section is empty.

Functions

func Build

func Build(items []string, maxSize int, previous string) (selected string, err error)

Build creates an interactive menu to chose destination directory from

Types

This section is empty.

Jump to

Keyboard shortcuts

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