--multi to take optional argument to limit the number of selection

Close #1718
Related #688
This commit is contained in:
Junegunn Choi committed 2019-11-02 14:25:12 +09:00
1 parent a2e9366c84
commit 072066c49c
4 files changed
+123 -32

No files matched your search

+2
View File
@@ -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