fix spacing

This commit is contained in:
Shane C 2024-08-07 14:40:46 -04:00
parent 42c4dbb3da
commit 538949679f
Signed by: shane
GPG key ID: E46B5FEA35B22FF9

View file

@ -18,7 +18,7 @@ type Item struct {
func New(opts ListOptions) { 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 { for _, item := range opts.Items {
fmt.Println(itemString(item.Key, item.Value)) fmt.Println(itemString(item.Key, item.Value))