Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
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
65
func
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
Bold
Function · 0.85
BoldFmt
Function · 0.85
ifTerm
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected