1
1
mirror of https://github.com/walles/moar.git synced 2024-09-11 20:17:13 +03:00

Give the terminal more time to respond

To our background color query.

Fixes #190.
This commit is contained in:
Johan Walles 2024-01-19 10:54:17 +01:00
parent d391bab3b1
commit c7eaf9a879

View File

@ -602,7 +602,7 @@ func pagerFromArgs(
screen.Events() <- event
}
case <-time.After(5 * time.Millisecond):
case <-time.After(50 * time.Millisecond):
log.Debug("Terminal background color still not detected after ", time.Since(t0), ", giving up")
}
} else {