summaryrefslogtreecommitdiffstats
path: root/vendor/github.com/jesseduffield/termbox-go/escwait_darwin.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/jesseduffield/termbox-go/escwait_darwin.go')
-rw-r--r--vendor/github.com/jesseduffield/termbox-go/escwait_darwin.go9
1 files changed, 9 insertions, 0 deletions
diff --git a/vendor/github.com/jesseduffield/termbox-go/escwait_darwin.go b/vendor/github.com/jesseduffield/termbox-go/escwait_darwin.go
new file mode 100644
index 000000000..dde69b6cb
--- /dev/null
+++ b/vendor/github.com/jesseduffield/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
+}