fix styling

This commit is contained in:
Shane C 2024-08-08 10:47:24 -04:00
parent 2b4361d641
commit 4c617ba4b5
Signed by: shanec
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.FgColorGrey + "[ " + tui.Format(tui.FgColorGold, tui.FmtUnderline) + currentPage.Title + ":" + tui.FgColorGrey + " ]" + tui.FmtReset + "\n"
listTitle := tui.FgColorGrey + "[ " + tui.Format(tui.FgColorGold, tui.FmtUnderline) + currentPage.Title + ":" + tui.Format(tui.FmtUnderlineReset, tui.FgColorGrey) + " ]" + tui.FmtReset + "\n"
l.strLengths = append(l.strLengths, len(removeANSIEscapeCodes(listTitle)))
fmt.Print(listTitle)