drop unused stderr from GlobalOptions

This commit is contained in:
Michael Eischer committed 2025-10-03 18:55:46 +02:00
1 parent 1939cff334
commit c293736841
26 files changed
+109 -117

No files matched your search

+3 -3
View File
@@ -6,10 +6,10 @@ import (
"sync"
)
// WrapStdio returns line-buffering replacements for os.Stdout and os.Stderr.
// WrapStdout returns line-buffering replacements for os.Stdout.
// On Close, the remaining bytes are written, followed by a line break.
func WrapStdio(term *Terminal) (stdout, stderr io.WriteCloser) {
return newLineWriter(term.Print), newLineWriter(term.Error)
func WrapStdout(term *Terminal) (stdout io.WriteCloser) {
return newLineWriter(term.Print)
}
type lineWriter struct {