MCPcopy Index your code
hub / github.com/coder/coder / isTerm

Function isTerm

cli/cliui/cliui.go:65–67  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

63}
64
65func isTerm() bool {
66 return color != termenv.Ascii
67}
68
69// Bold returns a formatter that renders text in bold
70// if the terminal supports it.

Callers 3

BoldFunction · 0.85
BoldFmtFunction · 0.85
ifTermFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected