MCPcopy Index your code
hub / github.com/cli/cli / ColorSupport256

Method ColorSupport256

pkg/iostreams/iostreams.go:96–101  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

94}
95
96func (s *IOStreams) ColorSupport256() bool {
97 if s.colorOverride {
98 return s.colorEnabled
99 }
100 return s.term.Is256ColorSupported()
101}
102
103func (s *IOStreams) HasTrueColor() bool {
104 if s.colorOverride {

Callers 1

ColorSchemeMethod · 0.95

Calls 1

Is256ColorSupportedMethod · 0.65

Tested by

no test coverage detected