diff options
Diffstat (limited to 'config/ui.go')
-rw-r--r-- | config/ui.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/config/ui.go b/config/ui.go index dfd66224..ff6fbccf 100644 --- a/config/ui.go +++ b/config/ui.go @@ -303,7 +303,8 @@ func (*UIConfig) ParseIndexColumns(section *ini.Section, key *ini.Key) ([]*Colum _, _ = section.NewKey("column-flags", `{{.Flags | join ""}}`) } if !section.HasKey("column-subject") { - _, _ = section.NewKey("column-subject", `{{.ThreadPrefix}}{{.Subject}}`) + _, _ = section.NewKey("column-subject", + `{{.ThreadPrefix}}{{if .ThreadFolded}}{{printf "{%d}" .ThreadCount}}{{end}}{{.Subject}}`) } return ParseColumnDefs(key, section) } |