promptui/keycodes_other.go
Brian Dwyer 9d0836213a
Readline now correctly triggers arrow keys on Windows
Signed-off-by: Brian Dwyer <Brian.Dwyer@broadridge.com>
2020-04-14 16:21:54 -04:00

10 lines
188 B
Go

// +build !windows
package promptui
import "github.com/chzyer/readline"
var (
// KeyBackspace is the default key for deleting input text.
KeyBackspace rune = readline.CharBackspace
)