MCPcopy
hub / github.com/c-bata/go-prompt / SetColor

Method SetColor

output.go:160–160  ·  view source on GitHub ↗

* Font */ SetColor sets text and background colors. and specify whether text is bold.

(fg, bg Color, bold bool)

Source from the content-addressed store, hash-verified

158
159 // SetColor sets text and background colors. and specify whether text is bold.
160 SetColor(fg, bg Color, bold bool)
161}

Callers 5

renderPrefixMethod · 0.65
renderWindowTooSmallMethod · 0.65
renderCompletionMethod · 0.65
RenderMethod · 0.65
BreakLineMethod · 0.65

Calls

no outgoing calls

Tested by

no test coverage detected