From 2b4361d6410187a7620ba0d4b3e1e1fddfc82eff Mon Sep 17 00:00:00 2001 From: Shane C Date: Thu, 8 Aug 2024 10:46:33 -0400 Subject: [PATCH] fix list title styling --- list/list.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/list/list.go b/list/list.go index a31680b..12d3e82 100644 --- a/list/list.go +++ b/list/list.go @@ -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)