0
0
Fork 0
mirror of https://github.com/crazy-max/diun.git synced 2025-01-03 16:09:41 +00:00
crazy-max_diun/vendor/github.com/AlecAivazis/survey/v2/terminal/output.go
2024-12-14 22:30:21 +01:00

20 lines
441 B
Go

//go:build !windows
// +build !windows
package terminal
import (
"io"
)
// NewAnsiStdout returns special stdout, which converts escape sequences to Windows API calls
// on Windows environment.
func NewAnsiStdout(out FileWriter) io.Writer {
return out
}
// NewAnsiStderr returns special stderr, which converts escape sequences to Windows API calls
// on Windows environment.
func NewAnsiStderr(out FileWriter) io.Writer {
return out
}