diff options
Diffstat (limited to 'examples/go-dashboard/src/github.com/nsf/termbox-go/escwait.go')
-rw-r--r-- | examples/go-dashboard/src/github.com/nsf/termbox-go/escwait.go | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/examples/go-dashboard/src/github.com/nsf/termbox-go/escwait.go b/examples/go-dashboard/src/github.com/nsf/termbox-go/escwait.go new file mode 100644 index 000000000..b7bbb891f --- /dev/null +++ b/examples/go-dashboard/src/github.com/nsf/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 +} |