tui: separate live prose from tool boxes

This commit is contained in:
patriceckhart 2026-05-05 18:06:40 +02:00
parent bfaaaa3dd9
commit 168941f09e

View file

@ -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, "")
}