Implemented basic system

This commit is contained in:
2018-04-02 15:40:10 +01:00
parent 080d61728c
commit 3a482ca3f7
11 changed files with 135 additions and 30 deletions

25
vendor/github.com/manifoldco/promptui/keycodes.go generated vendored Normal file
View File

@@ -0,0 +1,25 @@
// +build !windows
package promptui
import "github.com/chzyer/readline"
var (
// KeyEnter is the default key for submission/selection
KeyEnter rune = readline.CharEnter
// KeyBackspace is the default key for deleting input text
KeyBackspace rune = readline.CharBackspace
// KeyPrev is the default key to go up during selection
KeyPrev rune = readline.CharPrev
// KeyNext is the default key to go down during selection
KeyNext rune = readline.CharNext
// KeyBackward is the default key to page up during selection
KeyBackward rune = readline.CharBackward
// KeyForward is the default key to page down during selection
KeyForward rune = readline.CharForward
)