escwait.go

 1// +build !darwin
 2
 3package 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
 9func enable_wait_for_escape_sequence() bool {
10	return false
11}