OSDN Git Service
(root)
/
bytom
/
vapor.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
new repo
[bytom/vapor.git]
/
vendor
/
github.com
/
go-kit
/
kit
/
log
/
term
/
colorwriter_others.go
1
// +build !windows
2
3
package term
4
5
import "io"
6
7
// NewColorWriter returns an io.Writer that writes to w and provides cross
8
// platform support for ANSI color codes. If w is not a terminal it is
9
// returned unmodified.
10
func NewColorWriter(w io.Writer) io.Writer {
11
return w
12
}