diff options
author | Junegunn Choi <junegunn.c@gmail.com> | 2022-03-09 17:02:06 +0900 |
---|---|---|
committer | Junegunn Choi <junegunn.c@gmail.com> | 2022-03-09 17:02:06 +0900 |
commit | a06671b47f0284733c7edf7dae8f22f9758c8393 (patch) | |
tree | 11ee64e3e223381aea37ab7aea97e997a40ecc27 | |
parent | 5f385d88e0a786f20c4231b82f250945a6583a17 (diff) |
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
-rw-r--r-- | src/tui/light.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tui/light.go b/src/tui/light.go index d3e3faba..97112981 100644 --- a/src/tui/light.go +++ b/src/tui/light.go @@ -23,7 +23,7 @@ const ( defaultEscDelay = 100 escPollInterval = 5 offsetPollTries = 10 - maxInputBuffer = 10 * 1024 + maxInputBuffer = 1024 * 1024 ) const consoleDevice string = "/dev/tty" |