fix list title styling

This commit is contained in:
Shane C 2024-08-08 10:46:33 -04:00
parent 628eb8343d
commit 2b4361d641
Signed by: shane
GPG key ID: E46B5FEA35B22FF9

View file

@ -218,7 +218,7 @@ func (l *ListData) renderList() {
l.strLengths = append(l.strLengths, len(removeANSIEscapeCodes(listNotice)))
fmt.Print(listNotice)
listTitle := tui.Format(tui.FmtBold, tui.FgColorGrey, tui.FmtUnderline) + currentPage.Title + ":" + tui.FmtReset + "\n"
listTitle := tui.FgColorGrey + "[ " + tui.Format(tui.FgColorGold, tui.FmtUnderline) + currentPage.Title + ":" + tui.FgColorGrey + " ]" + tui.FmtReset + "\n"
l.strLengths = append(l.strLengths, len(removeANSIEscapeCodes(listTitle)))
fmt.Print(listTitle)