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

Function formatSectionHeaderWithTTY

pkg/console/console.go:392–394  ·  view source on GitHub ↗
(header string, ttyCheck func() bool)

Source from the content-addressed store, hash-verified

390}
391
392func formatSectionHeaderWithTTY(header string, ttyCheck func() bool) string {
393 return applyStyleWithTTY(styles.Header, header, ttyCheck)
394}
395
396// RenderTitleBox renders a title with a double border box in TTY mode
397func RenderTitleBox(title string, width int) []string {

Callers 3

FormatSectionHeaderFunction · 0.85

Calls 1

applyStyleWithTTYFunction · 0.85

Tested by 1