Skip to content
This repository has been archived by the owner on Apr 19, 2024. It is now read-only.

Commit

Permalink
Fix Survey output on Windows (#413)
Browse files Browse the repository at this point in the history
  • Loading branch information
mislav committed Mar 22, 2022
1 parent c07023a commit 6cbb195
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions terminal/output_windows.go
Expand Up @@ -71,6 +71,9 @@ func (w *Writer) Write(data []byte) (n int, err error) {
var size int
ch, size, err = r.ReadRune()
if err != nil {
if err == io.EOF {
err = nil
}
return
}
n += size
Expand Down

0 comments on commit 6cbb195

Please sign in to comment.