Increase TTY buffer limit

Kitty's shell intergration generates a long sequence of key presses in
certain cases. As long as the length of the sequence is finite, fzf can
process it.

Close #2748
pull/2764/head
Junegunn Choi 2 years ago
parent 5f385d88e0
commit a06671b47f
No known key found for this signature in database
GPG Key ID: 254BC280FEF9C627

@ -23,7 +23,7 @@ const (
defaultEscDelay = 100
escPollInterval = 5
offsetPollTries = 10
maxInputBuffer = 10 * 1024
maxInputBuffer = 1024 * 1024
)
const consoleDevice string = "/dev/tty"

Loading…
Cancel
Save