add total files to table header
This commit is contained in:
parent
7b61227158
commit
85d7d944b4
|
@ -328,7 +328,7 @@ func (m model) header() string {
|
||||||
mode = m.mode.String()
|
mode = m.mode.String()
|
||||||
}
|
}
|
||||||
|
|
||||||
return fmt.Sprintf("%s %s %d files selected", mode, darkesttext.Render("•"), len(m.selected))
|
return fmt.Sprintf("%s %s %d/%d files selected", mode, darkesttext.Render("•"), len(m.selected), len(m.table.Rows()))
|
||||||
}
|
}
|
||||||
|
|
||||||
func (m model) footer() string {
|
func (m model) footer() string {
|
||||||
|
|
Loading…
Reference in a new issue