From 65a7cd10f68463fdef45ffb8233550d19e8fd47f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jose=20Luis=20Monta=C3=B1es=20Ojados?= Date: Mon, 19 Jan 2026 23:23:05 +0100 Subject: [PATCH] fix: Adjust Analysis view layout to prevent overlapping with navigation bar --- internal/tui/model.go | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) 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 }