mirror of
https://github.com/crazy-max/diun.git
synced 2025-01-03 16:09:41 +00:00
20 lines
441 B
Go
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
|
|
}
|