Merge pull request #38 from lexandro/master
Fixing variable names in ansicolor to enable windows build
Этот коммит содержится в:
коммит
f16addd9c9
1 изменённых файлов: 3 добавлений и 3 удалений
|
@ -15,8 +15,8 @@ type outputMode int
|
||||||
// color escape sequence.
|
// color escape sequence.
|
||||||
const (
|
const (
|
||||||
_ outputMode = iota
|
_ outputMode = iota
|
||||||
discardNonColorEscSeq
|
DiscardNonColorEscSeq
|
||||||
outputNonColorEscSeq
|
OutputNonColorEscSeq
|
||||||
)
|
)
|
||||||
|
|
||||||
// NewAnsiColorWriter creates and initializes a new ansiColorWriter
|
// NewAnsiColorWriter creates and initializes a new ansiColorWriter
|
||||||
|
@ -25,7 +25,7 @@ const (
|
||||||
// colors of the text by the escape sequence.
|
// colors of the text by the escape sequence.
|
||||||
// In the console of other systems, which writes to w all text.
|
// In the console of other systems, which writes to w all text.
|
||||||
func createAnsiColorWriter(w io.Writer) io.Writer {
|
func createAnsiColorWriter(w io.Writer) io.Writer {
|
||||||
return createModeAnsiColorWriter(w, discardNonColorEscSeq)
|
return createModeAnsiColorWriter(w, DiscardNonColorEscSeq)
|
||||||
}
|
}
|
||||||
|
|
||||||
// NewModeAnsiColorWriter create and initializes a new ansiColorWriter
|
// NewModeAnsiColorWriter create and initializes a new ansiColorWriter
|
||||||
|
|
Загрузка…
Создание таблицы
Сослаться в новой задаче