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

Function formatListItemWithTTY

pkg/console/console.go:293–295  ·  view source on GitHub ↗
(item string, ttyCheck func() bool)

Source from the content-addressed store, hash-verified

291}
292
293func formatListItemWithTTY(item string, ttyCheck func() bool) string {
294 return applyStyleWithTTY(styles.ListItem, " • "+item, ttyCheck)
295}
296
297// FormatErrorMessage formats a simple error message (for stderr output)
298func FormatErrorMessage(message string) string {

Callers 3

FormatListItemFunction · 0.85
FormatListItemStderrFunction · 0.85

Calls 1

applyStyleWithTTYFunction · 0.85

Tested by 1