2016-03-09 04:20:03 +00:00
|
|
|
// +build !windows
|
|
|
|
|
|
|
|
package terminal
|
|
|
|
|
|
|
|
import (
|
2016-03-24 10:55:48 +00:00
|
|
|
"io"
|
2016-03-09 04:20:03 +00:00
|
|
|
"os"
|
|
|
|
)
|
|
|
|
|
2016-03-24 10:55:48 +00:00
|
|
|
// getColorableWriter returns two values. First is Writer supported colors.
|
|
|
|
// If return nil, colors will be disabled.
|
|
|
|
func getColorableWriter() io.Writer {
|
|
|
|
return os.Stdout
|
2016-03-09 04:20:03 +00:00
|
|
|
}
|