diff options
Diffstat (limited to 'stdin.go')
-rw-r--r-- | stdin.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -24,7 +24,7 @@ func readFromStdin() <-chan []byte { go func() { scanner := bufio.NewScanner(os.Stdin) for scanner.Scan() { - out <- scanner.Bytes() + out <- []byte(scanner.Text()) } close(out) }() |