diff options
| author | Paul Buetow <paul@buetow.org> | 2026-05-26 22:45:23 +0300 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-05-26 22:45:23 +0300 |
| commit | fb5a9c1f5c99559cb013a6ff396eb56a7d1f7be6 (patch) | |
| tree | d1f7bc3667ea20799893148b40bc936303d60f67 /internal/tui/flamegraph/model.go | |
| parent | 5533d521ae2183342771ace001624c89e75a994f (diff) | |
flamegraph: variable leaf bar heights for height metric (uo)
Diffstat (limited to 'internal/tui/flamegraph/model.go')
| -rw-r--r-- | internal/tui/flamegraph/model.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/tui/flamegraph/model.go b/internal/tui/flamegraph/model.go index b1f3f1e..fe9b73b 100644 --- a/internal/tui/flamegraph/model.go +++ b/internal/tui/flamegraph/model.go @@ -510,7 +510,7 @@ func (m Model) renderViewContent() string { renderHeight = 3 } - content := RenderTerminalView(m.frames, m.width, renderHeight, m.selectedIdx, m.subtreeSet, m.matchIndices, m.filterVisible, m.globalTotal, m.countFieldLabel(), m.isDark, m.searchActive, m.searchQuery) + content := RenderTerminalView(m.frames, m.width, renderHeight, m.selectedIdx, m.subtreeSet, m.matchIndices, m.filterVisible, m.globalTotal, m.countFieldLabel(), strings.TrimSpace(m.heightField) != "", m.isDark, m.searchActive, m.searchQuery) content = replaceHeaderLine(content, m.toolbarLine()) if m.searchActive { content = replaceFooterLine(content, m.searchFooter()) |
