aboutsummaryrefslogtreecommitdiffstats
path: root/Godeps/_workspace/src/github.com/shiena/ansicolor/ansicolor.go
diff options
context:
space:
mode:
Diffstat (limited to 'Godeps/_workspace/src/github.com/shiena/ansicolor/ansicolor.go')
-rw-r--r--Godeps/_workspace/src/github.com/shiena/ansicolor/ansicolor.go20
1 files changed, 0 insertions, 20 deletions
diff --git a/Godeps/_workspace/src/github.com/shiena/ansicolor/ansicolor.go b/Godeps/_workspace/src/github.com/shiena/ansicolor/ansicolor.go
deleted file mode 100644
index d3ece8fc0..000000000
--- a/Godeps/_workspace/src/github.com/shiena/ansicolor/ansicolor.go
+++ /dev/null
@@ -1,20 +0,0 @@
-// Copyright 2014 shiena Authors. All rights reserved.
-// Use of this source code is governed by a MIT-style
-// license that can be found in the LICENSE file.
-
-// Package ansicolor provides color console in Windows as ANSICON.
-package ansicolor
-
-import "io"
-
-// NewAnsiColorWriter creates and initializes a new ansiColorWriter
-// using io.Writer w as its initial contents.
-// In the console of Windows, which change the foreground and background
-// colors of the text by the escape sequence.
-// In the console of other systems, which writes to w all text.
-func NewAnsiColorWriter(w io.Writer) io.Writer {
- if _, ok := w.(*ansiColorWriter); !ok {
- return &ansiColorWriter{w: w}
- }
- return w
-}