MCPcopy Create free account
hub / github.com/cli/cli / Highlight

Method Highlight

pkg/iostreams/color.go:220–226  ·  view source on GitHub ↗
(t string)

Source from the content-addressed store, hash-verified

218}
219
220func (c *ColorScheme) Highlight(t string) string {
221 if !c.Enabled {
222 return t
223 }
224
225 return highlight(t)
226}
227
228func (c *ColorScheme) Reset() string {
229 if !c.Enabled {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected