diff options
| author | Paul Buetow <paul@buetow.org> | 2026-03-06 18:26:39 +0200 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-03-06 18:26:39 +0200 |
| commit | bd076884619c8f4d9e76ef8bc67b3bfd8b83235a (patch) | |
| tree | 74ae380bf616e1b3b298e0f5a8e790e6469f06c3 /internal/tui/dashboard/files.go | |
| parent | b566bc141e971ae2a7634c9d836f2ad8b0a62402 (diff) | |
refactor(tui): add dashboard viz mode registry (task 382)
Diffstat (limited to 'internal/tui/dashboard/files.go')
| -rw-r--r-- | internal/tui/dashboard/files.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/tui/dashboard/files.go b/internal/tui/dashboard/files.go index 98158d8..e9bb218 100644 --- a/internal/tui/dashboard/files.go +++ b/internal/tui/dashboard/files.go @@ -56,7 +56,7 @@ func renderFilesWithOffset(snap *statsengine.Snapshot, width, height, offset int tbl.SetWidth(tableWidth(width)) cursor := clampOffset(offset, len(rows)) tbl.SetCursor(cursor) - return tbl.View() + fmt.Sprintf("\nRow %d/%d [d:dirs] [v:bubbles in dirs]", cursor+1, len(rows)) + return tbl.View() + fmt.Sprintf("\nRow %d/%d [d:dirs] [v:mode in dirs]", cursor+1, len(rows)) } func renderFilesDirGrouped(snap *statsengine.Snapshot, width, height, offset int) string { @@ -89,7 +89,7 @@ func renderFilesDirGrouped(snap *statsengine.Snapshot, width, height, offset int tbl.SetWidth(tableWidth(width)) cursor := clampOffset(offset, len(rows)) tbl.SetCursor(cursor) - return tbl.View() + fmt.Sprintf("\nRow %d/%d [d:files] [v:bubbles] [b:metric]", cursor+1, len(rows)) + return tbl.View() + fmt.Sprintf("\nRow %d/%d [d:files] [v:mode] [b:metric]", cursor+1, len(rows)) } func fileRows(files []statsengine.FileSnapshot, pathWidth int) []table.Row { |
