shows total memory usage

This commit is contained in:
Marcos Diez
2019-06-06 09:58:55 -03:00
committed by Bradley Cicenas
parent ea5968edce
commit 15c5c31726
3 changed files with 19 additions and 1 deletions

View File

@@ -52,6 +52,7 @@ func RedrawRows(clr bool) {
y := 1
if config.GetSwitchVal("enableHeader") {
header.SetCount(cursor.Len())
header.SetMemoryUsage(cursor.MemoryUsage())
header.SetFilter(config.GetVal("filterStr"))
y += header.Height()
}