(header string, ttyCheck func() bool)
| 390 | } |
| 391 | |
| 392 | func 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 |
| 397 | func RenderTitleBox(title string, width int) []string { |