aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/github.com/awesome-gocui/termbox-go/escwait.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/awesome-gocui/termbox-go/escwait.go')
-rw-r--r--vendor/github.com/awesome-gocui/termbox-go/escwait.go11
1 files changed, 11 insertions, 0 deletions
diff --git a/vendor/github.com/awesome-gocui/termbox-go/escwait.go b/vendor/github.com/awesome-gocui/termbox-go/escwait.go
new file mode 100644
index 00000000..b7bbb891
--- /dev/null
+++ b/vendor/github.com/awesome-gocui/termbox-go/escwait.go
@@ -0,0 +1,11 @@
+// +build !darwin
+
+package termbox
+
+// On all systems other than macOS, disable 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 false
+}