diff options
Diffstat (limited to 'vendor/github.com/nsf/termbox-go/escwait.go')
| -rw-r--r-- | vendor/github.com/nsf/termbox-go/escwait.go | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/vendor/github.com/nsf/termbox-go/escwait.go b/vendor/github.com/nsf/termbox-go/escwait.go new file mode 100644 index 0000000..b7bbb89 --- /dev/null +++ b/vendor/github.com/nsf/termbox-go/escwait.go | |||
| @@ -0,0 +1,11 @@ | |||
| 1 | // +build !darwin | ||
| 2 | |||
| 3 | package termbox | ||
| 4 | |||
| 5 | // On all systems other than macOS, disable behavior which will wait before | ||
| 6 | // deciding that the escape key was pressed, to account for partially send | ||
| 7 | // escape sequences, especially with regard to lengthy mouse sequences. | ||
| 8 | // See https://github.com/nsf/termbox-go/issues/132 | ||
| 9 | func enable_wait_for_escape_sequence() bool { | ||
| 10 | return false | ||
| 11 | } | ||
