MCPcopy
hub / github.com/pterm/pterm / EnableColor

Function EnableColor

color.go:14–17  ·  view source on GitHub ↗

EnableColor enables colors.

()

Source from the content-addressed store, hash-verified

12
13// EnableColor enables colors.
14func EnableColor() {
15 color.Enable = true
16 PrintColor = true
17}
18
19// DisableColor disables colors.
20func DisableColor() {

Callers 2

TestEnableColorFunction · 0.92
EnableStylingFunction · 0.85

Calls

no outgoing calls

Tested by 1

TestEnableColorFunction · 0.74

Used in the wild real call sites across dependent graphs

searching dependent graphs…