diff --git a/writer.go b/writer.go index 2639887..f89f8fe 100644 --- a/writer.go +++ b/writer.go @@ -16,7 +16,7 @@ const ESC = 27 var RefreshInterval = time.Millisecond // Out is the default output writer for the Writer -var Out = os.Stdout +var Out = io.Writer(os.Stdout) // ErrClosedPipe is the error returned when trying to writer is not listening var ErrClosedPipe = errors.New("uilive: read/write on closed pipe")