From bb9168f98a9dd50a7215652ab77a1c46615064cd Mon Sep 17 00:00:00 2001 From: Michael Muré Date: Mon, 30 Jul 2018 18:11:53 +0200 Subject: vendor gocui --- vendor/github.com/nsf/termbox-go/escwait_darwin.go | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 vendor/github.com/nsf/termbox-go/escwait_darwin.go (limited to 'vendor/github.com/nsf/termbox-go/escwait_darwin.go') 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 +} -- cgit