Skip to content

Commit

Permalink
Merge branch 'mac-escape-sequence-delay' of https://github.com/ration…
Browse files Browse the repository at this point in the history
  • Loading branch information
nsf committed Jan 23, 2018
2 parents 8c5e079 + 534a885 commit 157ff97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api.go
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,7 @@ func PollEvent() Event {
// Constant governing macOS specific behavior. See https://github.com/nsf/termbox-go/issues/132
// This is an arbitrary delay which hopefully will be enough time for any lagging
// partial escape sequences to come through.
const esc_wait_delay = 50 * time.Millisecond
const esc_wait_delay = 100 * time.Millisecond

var event Event
var esc_wait_timer *time.Timer
Expand Down

0 comments on commit 157ff97

Please sign in to comment.