diff options
| author | Paul Buetow <paul@buetow.org> | 2026-03-06 08:02:58 +0200 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-03-06 08:02:58 +0200 |
| commit | c6ec3b3ee34c9e77daa7159e8c164e413c2101b5 (patch) | |
| tree | 0b7bba3228caddbdc24614c1734560a64dcd7770 /internal/tui/flamegraph/controls.go | |
| parent | 1955effb0daa5269d1b4069f3fb5175dbc29793f (diff) | |
Improve flamegraph selection, filter, and zoom feedback
Diffstat (limited to 'internal/tui/flamegraph/controls.go')
| -rw-r--r-- | internal/tui/flamegraph/controls.go | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/internal/tui/flamegraph/controls.go b/internal/tui/flamegraph/controls.go index b0a2933..74a248d 100644 --- a/internal/tui/flamegraph/controls.go +++ b/internal/tui/flamegraph/controls.go @@ -63,7 +63,10 @@ func (m Model) toolbarLine() string { state = lipgloss.NewStyle().Foreground(common.ColorDanger).Bold(true).Render("[PAUSED]") } order := m.currentFieldPresetLabel() - line := fmt.Sprintf("%s | o:order(%s) | /:search | enter:zoom | u:undo | r:reset | p:pause", state, order) + line := fmt.Sprintf("%s | view:%s | o:order(%s) | /:search | enter:zoom | u:undo | r:reset | p:pause", state, compactFramePath(m.currentRootPath()), order) + if m.searchQuery != "" { + line += " | filter:" + m.searchQuery + } if m.statusMessage != "" { line += " | " + m.statusMessage } |
