diff --git a/helpers.go b/helpers.go index e3b1348..a761503 100644 --- a/helpers.go +++ b/helpers.go @@ -75,7 +75,7 @@ func writeStdinLinesOrNothing(ch chan string) (hasStdinLines bool) { // piped go func() { scanner := bufio.NewScanner(os.Stdin) - scanner.Buffer(make([]byte, 16*1024), 256*1024) + scanner.Buffer(make([]byte, 16*1024*1024), 256*1024*1024) hasEmittedAtLeastOne := false for scanner.Scan() { ch <- strings.TrimSpace(scanner.Text())