ui

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Feb 4, 2019 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitSelector

func InitSelector(values []string)

InitSelector set values to selector

func Select

func Select() (string, error)

Select profile

Types

type InputBox

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

InputBox captures user input

func (*InputBox) Draw

func (ib *InputBox) Draw(x, y, w, h int)

Draw user input

type Selector

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

Selector is visual interface to user

func (*Selector) Draw

func (s *Selector) Draw(x, y, w, h int)

Draw selector messages

Jump to

Keyboard shortcuts

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