summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-11-25 10:36:18 -0300
committerGabriel Schneider <[email protected]>2026-11-25 10:36:19 -0300
commit01139e1614e457367bc634b0de0dd9a5e0bd388e (patch)
tree8fdc6091970f179c6233bee4cb387a72440578fa /test
parentd7eec005d9f56384f439a09a92c2d05a571e96e8 (diff)
downloadpardes-01139e1614e457367bc634b0de0dd9a5e0bd388e.tar.gz
pardes-01139e1614e457367bc634b0de0dd9a5e0bd388e.zip
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)
Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNBFhdevVu48bvL9kCE
Diffstat (limited to 'test')
-rw-r--r--test/snapshots/ttyhelp.golden8
1 files changed, 4 insertions, 4 deletions
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 <name>, a line of a ctl file, or `pardes do <name>`↩
|12: from a shell. `Help <name>` shows one builtin alone; `Help <keys>` (or SPC, those keys, the↩