From 168941f09e9ae72e90119a553c3021ab97498ae9 Mon Sep 17 00:00:00 2001 From: patriceckhart Date: Tue, 5 May 2026 18:06:40 +0200 Subject: [PATCH] tui: separate live prose from tool boxes --- internal/tui/view.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/internal/tui/view.go b/internal/tui/view.go index d62f371..b470a97 100644 --- a/internal/tui/view.go +++ b/internal/tui/view.go @@ -244,10 +244,15 @@ func (v *View) BuildLive(width int) []string { } } } + insertedToolGap := false for _, tc := range v.ToolCalls { if finalised[tc.ID] { continue } + if !insertedToolGap && len(out) > 0 { + out = append(out, "") + } + insertedToolGap = true out = append(out, v.renderToolCall(tc, width)...) // out = append(out, "") }