diff --git a/cmd/cards.go b/cmd/cards.go index 7f85fff..c612159 100644 --- a/cmd/cards.go +++ b/cmd/cards.go @@ -63,8 +63,13 @@ func runCards(_ *cobra.Command, _ []string) error { tagStr += " #" + tag } + label := e.Body + if e.Title != nil { + label = *e.Title + } + fmt.Printf("%s %-40s %-16s %3d× %s\n", - glyph, e.Body, + glyph, label, strings.TrimSpace(tagStr), e.UseCount, shortID) }