From 01139e1614e457367bc634b0de0dd9a5e0bd388e Mon Sep 17 00:00:00 2001 From: Gabriel Schneider Date: Wed, 25 Nov 2026 10:36:18 -0300 Subject: Band: one blank each side of the `│` between two steps, so a step's widest row never touches the rule (UX D5, DESIGN.md E5.5: `ClipPasteBefore│` P1 03, `yank│` P2 06, `lsp│` P1 04; P2's note to P1); TEST FIRST: Band.zig "steps stand apart: one blank, the rule, one blank between a step and the next, its widest row's text never touching the rule (UX D5)" (Help at 160 columns, its rows and its doc: on the base the widest row ran into the rule, ` │ ` not at the rule's cell); THE CHANGE: Band.place puts each step three cells after the one before it (a blank, the rule, a blank: `x += width + 3`, and the room the steps need counts the same), where it put it two after (the rule, a blank); Band.line draws the rule two cells before a step as before, so the blank before it is the new cell; the doc's width is what is left as before; GOLDEN: ttyhelp: Help's rows and the doc's rule one cell right (`help│ t Tutor` -> `help │ t Tutor`), nothing else; core-test 1088/1259 (171 skipped), process-test 1 of 147 failed before the golden (ttyhelp, regenerated) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_016Y9MNBFhdevVu48bvL9kCE --- test/snapshots/ttyhelp.golden | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'test') diff --git a/test/snapshots/ttyhelp.golden b/test/snapshots/ttyhelp.golden index 93442263..41f429e0 100644 --- a/test/snapshots/ttyhelp.golden +++ b/test/snapshots/ttyhelp.golden @@ -50,10 +50,10 @@ |30: ✓ @p1 Help 1 message · SPC h m == snap leaderworks grid=100x31 cursor=12,5 |5: ^ Help tutor 1/1 -|6: ▶ SPC h t · Tutor · help│ t Tutor -|7: │ Open the tutor, a document to work through. -|8: │ keys SPC h t -|9: │ +|6: ▶ SPC h t · Tutor · help │ t Tutor +|7: │ Open the tutor, a document to work through. +|8: │ keys SPC h t +|9: │ |10: 1 pardes builtins: each one's keys and its name, then what it does. Run one by its keys, or by↩ |11: its name anywhere: B2 on the word, Exec , a line of a ctl file, or `pardes do `↩ |12: from a shell. `Help ` shows one builtin alone; `Help ` (or SPC, those keys, the↩ -- cgit v1.3