diff --git a/internal/tui/model.go b/internal/tui/model.go index 98059ae..b9db654 100644 --- a/internal/tui/model.go +++ b/internal/tui/model.go @@ -447,8 +447,13 @@ func (m Model) Update(msg tea.Msg) (tea.Model, tea.Cmd) { } // Update Analysis Viewport size - // Header (Title+Counts) ~2 lines, Footer (Help) ~2 lines -> ~4 lines overhead - analysisHeight := m.height - 4 + // We need to account for: + // - Nav Bar: ~2 lines + // - Status Bar: ~1 line + // - Analysis View Header (Title + Count + Gap): ~4 lines + // - Analysis View Footer (Gap + Help): ~2 lines + // Total Overhead: ~9-10 lines + analysisHeight := m.height - 10 if analysisHeight < 0 { analysisHeight = 0 }