summaryrefslogtreecommitdiff
path: root/internal/tui/common
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-03-08 20:43:31 +0200
committerPaul Buetow <paul@buetow.org>2026-03-08 20:43:31 +0200
commitf3f4bd343965c62a66666e7b2cd0b5b27024c0ed (patch)
tree70cd0c0da82ac1b787338f575a355e0e054fb3b2 /internal/tui/common
parentb6e84c402938b0ffb311f5f90ec41b33637b688f (diff)
task 375: show active global filter in dashboard help
Diffstat (limited to 'internal/tui/common')
-rw-r--r--internal/tui/common/keys.go11
1 files changed, 2 insertions, 9 deletions
diff --git a/internal/tui/common/keys.go b/internal/tui/common/keys.go
index bf356ee..fd7bef1 100644
--- a/internal/tui/common/keys.go
+++ b/internal/tui/common/keys.go
@@ -92,6 +92,7 @@ func (k KeyMap) DashboardStatusHelpSections() []HelpSection {
k.Seven,
k.Visualize,
k.Metric,
+ k.Filter,
k.SelectPID,
k.SelectTID,
k.Probes,
@@ -106,11 +107,7 @@ func (k KeyMap) DashboardStatusHelpSections() []HelpSection {
k.Visualize,
k.Metric,
helpTextBinding("space", "stream pause"),
- helpTextBinding("f", "stream filter"),
helpTextBinding("g/G", "stream top/tail"),
- helpTextBinding("c", "stream clear"),
- helpTextBinding("enter", "stream add filter"),
- helpTextBinding("esc", "stream undo filter"),
helpTextBinding("left/right", "stream col"),
helpTextBinding("h/l", "stream col"),
helpTextBinding("j/k", "scroll"),
@@ -135,18 +132,14 @@ func (k KeyMap) DashboardFullHelp() [][]key.Binding {
controls = append(controls, k.Export)
}
controls = append(controls, k.DirGroup, k.SelectPID, k.SelectTID, k.Probes, k.Refresh, k.Quit)
- controls = append(controls, k.Visualize, k.Metric)
+ controls = append(controls, k.Visualize, k.Metric, k.Filter)
return [][]key.Binding{
{k.One, k.Two, k.Three, k.Four, k.Five, k.Six, k.Seven},
controls,
{
helpTextBinding("space", "stream pause"),
- helpTextBinding("f", "stream filter"),
helpTextBinding("g/G", "stream top/tail"),
- helpTextBinding("c", "stream clear"),
- helpTextBinding("enter", "stream add filter"),
- helpTextBinding("esc", "stream undo filter"),
helpTextBinding("left/right", "stream col"),
helpTextBinding("h/l", "stream col"),
helpTextBinding("j/k", "scroll"),