Fixing variable names in ansicolor to enable windows build

Этот коммит содержится в:
Robert Stern 2016-06-11 08:00:23 +02:00
родитель da70b4d904
коммит 89c17f1376

Просмотреть файл

@ -15,8 +15,8 @@ type outputMode int
// color escape sequence.
const (
_ outputMode = iota
discardNonColorEscSeq
outputNonColorEscSeq
DiscardNonColorEscSeq
OutputNonColorEscSeq
)
// NewAnsiColorWriter creates and initializes a new ansiColorWriter
@ -25,7 +25,7 @@ const (
// colors of the text by the escape sequence.
// In the console of other systems, which writes to w all text.
func createAnsiColorWriter(w io.Writer) io.Writer {
return createModeAnsiColorWriter(w, discardNonColorEscSeq)
return createModeAnsiColorWriter(w, DiscardNonColorEscSeq)
}
// NewModeAnsiColorWriter create and initializes a new ansiColorWriter