diff --git a/displaylist/displaylist.go b/displaylist/displaylist.go index 7af6046..e6f719e 100644 --- a/displaylist/displaylist.go +++ b/displaylist/displaylist.go @@ -18,7 +18,7 @@ type Item struct { func New(opts ListOptions) { - fmt.Println(tui.FgColorGrey + "[ " + tui.Format(tui.FgColorGold, tui.FmtUnderline) + opts.Title + tui.Format(tui.FmtUnderlineReset, tui.FgColorGrey) + " " + " ]" + tui.FmtReset) + fmt.Println(tui.FgColorGrey + "[ " + tui.Format(tui.FgColorGold, tui.FmtUnderline) + opts.Title + tui.Format(tui.FmtUnderlineReset, tui.FgColorGrey) + " ]" + tui.FmtReset) for _, item := range opts.Items { fmt.Println(itemString(item.Key, item.Value))