You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
441 B
21 lines
441 B
2 years ago
|
//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
|
||
|
}
|