MCPcopy
hub / github.com/pterm/pterm / DisableColor

Function DisableColor

color.go:20–23  ·  view source on GitHub ↗

DisableColor disables colors.

()

Source from the content-addressed store, hash-verified

18
19// DisableColor disables colors.
20func DisableColor() {
21 color.Enable = false
22 PrintColor = false
23}
24
25// Foreground colors. basic foreground colors 30 - 37.
26const (

Callers 3

TestDisableColorFunction · 0.92
DisableStylingFunction · 0.85

Calls

no outgoing calls

Tested by 2

TestDisableColorFunction · 0.74

Used in the wild real call sites across dependent graphs

searching dependent graphs…