MCPcopy Create free account

hub / github.com/mattn/go-colorable / functions

Functions36 in github.com/mattn/go-colorable

↓ 5 callersFunctionNewNonColorable
NewNonColorable returns new instance of Writer which removes escape sequence from Writer.
noncolorable.go:14
↓ 4 callersMethodWrite
Write writes data on console
colorable_windows.go:437
↓ 2 callersFunctionNewColorable
NewColorable returns new instance of Writer which handles escape sequence from File.
colorable_windows.go:102
↓ 2 callersFunctionNewColorable
NewColorable returns new instance of Writer which handles escape sequence.
colorable_others.go:14
↓ 2 callersFunctionNewColorableStdout
NewColorableStdout returns new instance of Writer which handles escape sequence for stdout.
colorable_others.go:23
↓ 2 callersFunctiontoHSV
(rgb int)
colorable_windows.go:945
↓ 1 callersFunctionNewColorableStderr
NewColorableStderr returns new instance of Writer which handles escape sequence for stderr.
colorable_others.go:28
↓ 1 callersFunctionatoiWithDefault
returns Atoi(s) unless s == "" in which case it returns def
colorable_windows.go:429
↓ 1 callersMethodbackgroundAttr
()
colorable_windows.go:893
↓ 1 callersFunctioncheckEncoding
checkEncoding checks that colorable is output encoding agnostic as long as the encoding is a superset of ASCII. This implies that one byte not part of
colorable_test.go:13
↓ 1 callersMethoddist
(b hsv)
colorable_windows.go:932
↓ 1 callersFunctiondoTitleSequence
`\033]0;TITLESTR\007`
colorable_windows.go:390
↓ 1 callersMethodfind
(rgb int)
colorable_windows.go:982
↓ 1 callersMethodforegroundAttr
()
colorable_windows.go:877
↓ 1 callersFunctionminmax3f
(a, b, c float32)
colorable_windows.go:995
↓ 1 callersFunctionn256setup
()
colorable_windows.go:1018
↓ 1 callersFunctiontoHSVTable
(rgbTable []consoleColor)
colorable_windows.go:974
FunctionEnableColorsStdout
EnableColorsStdout enable colors if possible.
colorable_windows.go:1030
FunctionEnableColorsStdout
EnableColorsStdout enable colors if possible.
colorable_appengine.go:33
FunctionEnableColorsStdout
EnableColorsStdout enable colors if possible.
colorable_others.go:33
FunctionNewColorable
NewColorable returns new instance of Writer which handles escape sequence.
colorable_appengine.go:14
FunctionNewColorableStderr
NewColorableStderr returns new instance of Writer which handles escape sequence for stderr.
colorable_windows.go:126
FunctionNewColorableStderr
NewColorableStderr returns new instance of Writer which handles escape sequence for stderr.
colorable_appengine.go:28
FunctionNewColorableStdout
NewColorableStdout returns new instance of Writer which handles escape sequence for stdout.
colorable_windows.go:121
FunctionNewColorableStdout
NewColorableStdout returns new instance of Writer which handles escape sequence for stdout.
colorable_appengine.go:23
FunctionTestColorable
(t *testing.T)
colorable_test.go:82
FunctionTestEncoding
(t *testing.T)
colorable_test.go:26
FunctionTestNonColorable
(t *testing.T)
colorable_test.go:33
FunctionTestNonColorableBadESC
(t *testing.T)
colorable_test.go:74
FunctionTestNonColorableESC
(t *testing.T)
colorable_test.go:66
FunctionTestNonColorableNil
(t *testing.T)
colorable_test.go:50
MethodWrite
Write writes data on console
noncolorable.go:19
Functionmain
()
cmd/colorable/colorable.go:10
Functionmain
()
_example/logrus/main.go:8
Functionmain
()
_example/title/main.go:10
Functionmain
()
_example/escape-seq/main.go:10