You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As far as I can see, it is only used in the readline.Config which expects io.Writer, not io.WriterCloser (see here). p.Stdout.Close() is never called.
It's a bit inconvenient that when I want to configure an io.Writer as Stdout, I always need to wrap it in a struct that implements an unnecessary, no-op Close() function.
The text was updated successfully, but these errors were encountered:
As far as I can see, it is only used in the
readline.Config
which expectsio.Writer
, notio.WriterCloser
(see here).p.Stdout.Close()
is never called.It's a bit inconvenient that when I want to configure an
io.Writer
asStdout
, I always need to wrap it in a struct that implements an unnecessary, no-opClose()
function.The text was updated successfully, but these errors were encountered: