summaryrefslogtreecommitdiff
path: root/internal/tui/dashboard/model.go
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-03-05 22:18:08 +0200
committerPaul Buetow <paul@buetow.org>2026-03-05 22:18:08 +0200
commit043bbbb884560a0f91f5e12d0b7851ad60121d5a (patch)
treeb3345068b594945c777991a03876e2826175c089 /internal/tui/dashboard/model.go
parent98e46348ca59de2033451b844a4f592f1f9e5433 (diff)
task 350: add TabFlame tab infrastructure
Diffstat (limited to 'internal/tui/dashboard/model.go')
-rw-r--r--internal/tui/dashboard/model.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/internal/tui/dashboard/model.go b/internal/tui/dashboard/model.go
index f097da7..0a9915b 100644
--- a/internal/tui/dashboard/model.go
+++ b/internal/tui/dashboard/model.go
@@ -166,7 +166,7 @@ func (m Model) handleKey(msg tea.KeyPressMsg) (tea.Model, tea.Cmd) {
m.activeTab = TabStream
handled = true
case key.Matches(msg, m.keys.Seven):
- m.activeTab = TabStream
+ m.activeTab = TabFlame
handled = true
case key.Matches(msg, m.keys.Refresh):
snap := m.snapshot()
@@ -378,6 +378,8 @@ func renderActiveTab(tab Tab, snap *statsengine.Snapshot, streamModel *eventstre
return renderProcessesWithOffset(snap, width, height, processesOffset, pidFilter)
case TabLatency:
return renderLatencyGapsTab(snap, width, height)
+ case TabFlame:
+ return common.PanelStyle.Render("Flame: waiting for model...")
default:
return common.PanelStyle.Render("Unknown tab")
}