From 072066c49c01368046cf52c93be5b587aaf10ffe Mon Sep 17 00:00:00 2001 From: Junegunn Choi Date: Sat, 2 Nov 2019 12:55:26 +0900 Subject: --multi to take optional argument to limit the number of selection Close #1718 Related #688 --- src/constants.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/constants.go') 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 -- cgit v1.2.3