DisableColor disables the color output. Useful to not change any existing code and still being able to output. Can be used for flags like "--no-color". To enable back use EnableColor() method.
DisableColor is referenced in 5 repositoriesgithub.com/fatih/color
- 1 reference in color_test.go
- 2 references in reporter.go
- 1 reference in color/color2.go