From 53b7aa57249864cf498d6ca3334fbc1a34dde4c0 Mon Sep 17 00:00:00 2001 From: Jean-Pierre Martineau Date: Tue, 14 Jul 2026 03:06:34 -0400 Subject: [PATCH] Trace path: set the Compose row apart from the trace settings MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- meshterm/ui/trace_screen.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/meshterm/ui/trace_screen.py b/meshterm/ui/trace_screen.py index 3503cd7..e53db71 100644 --- a/meshterm/ui/trace_screen.py +++ b/meshterm/ui/trace_screen.py @@ -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