summaryrefslogtreecommitdiff
path: root/vendor/github.com/manifoldco/promptui/keycodes_other.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/manifoldco/promptui/keycodes_other.go')
-rw-r--r--vendor/github.com/manifoldco/promptui/keycodes_other.go10
1 files changed, 10 insertions, 0 deletions
diff --git a/vendor/github.com/manifoldco/promptui/keycodes_other.go b/vendor/github.com/manifoldco/promptui/keycodes_other.go
new file mode 100644
index 000000000..789feae4c
--- /dev/null
+++ b/vendor/github.com/manifoldco/promptui/keycodes_other.go
@@ -0,0 +1,10 @@
+// +build !windows
+
+package promptui
+
+import "github.com/chzyer/readline"
+
+var (
+ // KeyBackspace is the default key for deleting input text.
+ KeyBackspace rune = readline.CharBackspace
+)