aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/github.com/nsf/termbox-go/escwait_darwin.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/nsf/termbox-go/escwait_darwin.go')
-rw-r--r--vendor/github.com/nsf/termbox-go/escwait_darwin.go9
1 files changed, 9 insertions, 0 deletions
diff --git a/vendor/github.com/nsf/termbox-go/escwait_darwin.go b/vendor/github.com/nsf/termbox-go/escwait_darwin.go
new file mode 100644
index 00000000..dde69b6c
--- /dev/null
+++ b/vendor/github.com/nsf/termbox-go/escwait_darwin.go
@@ -0,0 +1,9 @@
+package termbox
+
+// On macOS, enable behavior which will wait before deciding that the escape
+// key was pressed, to account for partially send escape sequences, especially
+// with regard to lengthy mouse sequences.
+// See https://github.com/nsf/termbox-go/issues/132
+func enable_wait_for_escape_sequence() bool {
+ return true
+}