Trace path: set the Compose row apart from the trace settings

Target mode groups the build-path actions (Compose, Explore) and sets them
off from the width/samples settings with a blank line. Path mode has no
Explore, so Compose sat flush against Path width with no such break. Give
path mode the same grouping — a blank line under Compose — so both modes
read with the same rhythm.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
Jean-Pierre MartineauandClaude Opus 4.8 committed 2026-07-14 03:06:34 -04:00
1 parent 965783d276
commit 53b7aa5724
1 file changed
+5 -2
+5 -2
View File
@@ -546,8 +546,11 @@ class TraceScreen(Screen):
if selected:
self._cursor = len(lines)
lines.append(render_to_ansi(text, width))
if key in ("explore", "samples"):
lines.append("") # set the next group apart
# Set the next group apart: after the build-path group (Explore in target
# mode; Compose itself in path mode, which has no Explore) and after the
# trace-settings group.
if key in ("explore", "samples") or (key == "compose" and self._mode == "path"):
lines.append("")
tail = self._tail_lines(stats, current, width)
if tail:
# The results scroll in a window beneath the pinned controls (see