diff options
| author | Paul Buetow <paul@buetow.org> | 2026-02-25 09:23:19 +0200 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-02-25 09:23:19 +0200 |
| commit | 1279ffb8f2efba54ff005cce91ba65c149cb1ee6 (patch) | |
| tree | 102483e8d836501b3b935e0674d6608fbe9f4f1f /internal/tui/dashboard/model.go | |
| parent | b3625cc67c81b4c1bd654a9fcdaf624d76306b07 (diff) | |
Improve TUI layout and increase sparkline height
Diffstat (limited to 'internal/tui/dashboard/model.go')
| -rw-r--r-- | internal/tui/dashboard/model.go | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/internal/tui/dashboard/model.go b/internal/tui/dashboard/model.go index 407802f..78da351 100644 --- a/internal/tui/dashboard/model.go +++ b/internal/tui/dashboard/model.go @@ -127,7 +127,7 @@ func (m Model) handleKey(msg tea.KeyMsg) (tea.Model, tea.Cmd) { m.activeTab = TabLatency handled = true case key.Matches(msg, m.keys.Six): - m.activeTab = TabGaps + m.activeTab = TabStream handled = true case key.Matches(msg, m.keys.Seven): m.activeTab = TabStream @@ -278,9 +278,7 @@ func renderActiveTab(tab Tab, snap *statsengine.Snapshot, streamModel *eventstre case TabProcesses: return renderProcessesWithOffset(snap, width, height, processesOffset) case TabLatency: - return renderLatencyTab(snap, width, height) - case TabGaps: - return renderGapsTab(snap, width, height) + return renderLatencyGapsTab(snap, width, height) default: return common.PanelStyle.Render("Unknown tab") } |
