Properly truncate long query string

This commit is contained in:
Junegunn Choi
2017-02-18 23:17:29 +09:00
parent c2db67c1c0
commit 309e1d8619
2 changed files with 22 additions and 11 deletions

View File

@@ -18,10 +18,9 @@ const (
readerBufferSize = 64 * 1024
// Terminal
initialDelay = 20 * time.Millisecond
initialDelayTac = 100 * time.Millisecond
spinnerDuration = 200 * time.Millisecond
maxPatternLength = 100
initialDelay = 20 * time.Millisecond
initialDelayTac = 100 * time.Millisecond
spinnerDuration = 200 * time.Millisecond
// Matcher
numPartitionsMultiplier = 8