cli/pkg/iostreams/console.go
Mislav Marohnić 436d9ef859
Fix "missing method Fd" crash on Windows (#6200)
This ensures that `IOStreams.Out` always keeps the original `Fd()` value even if it's wrapped as a Colorable stream for Windows in cases when enabling virtual terminal processing has failed.
2022-09-06 17:29:06 +02:00

8 lines
130 B
Go

//go:build !windows
// +build !windows
package iostreams
func enableVirtualTerminalProcessing(fd uintptr) error {
return nil
}