fix list title styling
This commit is contained in:
parent
628eb8343d
commit
2b4361d641
1 changed files with 1 additions and 1 deletions
|
@ -218,7 +218,7 @@ func (l *ListData) renderList() {
|
||||||
l.strLengths = append(l.strLengths, len(removeANSIEscapeCodes(listNotice)))
|
l.strLengths = append(l.strLengths, len(removeANSIEscapeCodes(listNotice)))
|
||||||
fmt.Print(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)))
|
l.strLengths = append(l.strLengths, len(removeANSIEscapeCodes(listTitle)))
|
||||||
fmt.Print(listTitle)
|
fmt.Print(listTitle)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue