diff options
author | Junegunn Choi <junegunn.c@gmail.com> | 2019-11-02 12:55:26 +0900 |
---|---|---|
committer | Junegunn Choi <junegunn.c@gmail.com> | 2019-11-02 14:25:12 +0900 |
commit | 072066c49c01368046cf52c93be5b587aaf10ffe (patch) | |
tree | 2c8618a947a1e2973862dcd3ee09ad896a5c7158 /src/constants.go | |
parent | a2e9366c849a61f1d11ecc8b1092e8b09450cddc (diff) |
--multi to take optional argument to limit the number of selection
Close #1718
Related #688
Diffstat (limited to 'src/constants.go')
-rw-r--r-- | src/constants.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/constants.go b/src/constants.go index a49e1fe1..48ba2b7d 100644 --- a/src/constants.go +++ b/src/constants.go @@ -1,6 +1,7 @@ package fzf import ( + "math" "os" "time" @@ -27,6 +28,7 @@ const ( spinnerDuration = 200 * time.Millisecond previewCancelWait = 500 * time.Millisecond maxPatternLength = 300 + maxMulti = math.MaxInt32 // Matcher numPartitionsMultiplier = 8 |