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
This commit is contained in:
Junegunn Choi 2022-03-09 17:02:06 +09:00
parent 5f385d88e0
commit a06671b47f
No known key found for this signature in database
GPG Key ID: 254BC280FEF9C627

View File

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