summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunegunn Choi <junegunn.c@gmail.com>2025-02-27 11:43:58 +0900
committerJunegunn Choi <junegunn.c@gmail.com>2025-02-27 11:43:58 +0900
commit4e5e925e39ead3c04865a1d9595715905ef276d2 (patch)
tree6aa7b4009f973731404b1c17c446c2819982fd4d
parentb7248d41155acb830c629e07da08eab8e31d9fca (diff)
downloadfzf-4e5e925e39ead3c04865a1d9595715905ef276d2.tar.gz
Increase the query length limit from 300 to 1000
Close #4292
-rw-r--r--src/constants.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/constants.go b/src/constants.go
index 980e1583..ececdb97 100644
--- a/src/constants.go
+++ b/src/constants.go
@@ -26,7 +26,7 @@ const (
previewCancelWait = 500 * time.Millisecond
previewChunkDelay = 100 * time.Millisecond
previewDelayed = 500 * time.Millisecond
- maxPatternLength = 300
+ maxPatternLength = 1000
maxMulti = math.MaxInt32
// Matcher