MCPcopy Create free account
hub / github.com/github/gh-aw / formatInfoMessageWithTTY

Function formatInfoMessageWithTTY

pkg/console/console.go:180–182  ·  view source on GitHub ↗
(message string, ttyCheck func() bool)

Source from the content-addressed store, hash-verified

178}
179
180func formatInfoMessageWithTTY(message string, ttyCheck func() bool) string {
181 return applyStyleWithTTY(styles.Info, "i ", ttyCheck) + message
182}
183
184// FormatWarningMessage formats a warning message
185func FormatWarningMessage(message string) string {

Callers 3

FormatInfoMessageFunction · 0.85
FormatInfoMessageStderrFunction · 0.85

Calls 1

applyStyleWithTTYFunction · 0.85

Tested by 1