From 73c916113fd8ca732e3e58586399020c2e291871 Mon Sep 17 00:00:00 2001 From: Gabriel Schneider Date: Mon, 23 Nov 2026 16:06:49 -0300 Subject: help: the process cases that show the Help pane read it as it is now, their goldens with them, builtins-gui.json regenerated, and Compare's row said in words: test/process/tty_boot.zig's `builtins` case reached the full index's words with no SPC path by `g e` and forty wheel ticks up (a count every builtin added moved); with each word's documentation under its row they are some 220 lines down, so the case searches for Look's row, `/^ +Look ` and Enter (the one line that starts with blanks and `Look `: the documentation's lines start with a letter), and B2 on Tutor in the SPC h group at its row now (24); the `leader` case waits for the SPC t group's first two rows (`SPC t a Ascii`, `SPC t c Changes`), the rest being below its 41 rows now; tty_terminals.zig's `ttyhelp` waits for `SPC ? Help`; the three goldens (test/snapshots/builtins.golden, leader.golden, ttyhelp.golden) updated a case at a time (`-- --update `) and read: each Help capture now shows the rows with their documentation under them, the builtins case's query pane `/^ +Look` and its row `@p2:220:1`, Tutor opened by B2 from the index; docs/typ/builtins-gui.json regenerated (`text` in it, every doc the table's); Compare's second paragraph says its pair's row in words (the two points, how many changes lie between them, their first and last days) where the format `from..to N changes dates` lost a blank where the `///` wrapped; docs/typ/builtins-tui.json with it; the tui suites on the tree before this change's Compare edit: core-test 942/1108 (166 skipped), shell-test 1150/1153 (3 skipped), pane-test 182/183 (1 skipped), behaviour-test 277/277 and `-- --replay` 20 seeds of 70 steps 0 failures, term-test 17/17, kitty-test 45/45, process-test 0 of 146 failed (2 skipped), Debug, load 3.6-10; `zig build book` builds (128/128), its glossary each word's whole documentation; on this change: the frame and perf gate vs tree6 (`gpu/help1-g`, 1,648 s): 77 frames, 0 differ, gui unit-test 1748/1752 (no failure the base has not), perfab PASS (pictures identical in 10 runs, corpus2x -0.002%), perfops 120 of 121 within 0.1%, the one over the base's own (`open on small` +0.171%, the base's table +0.167%); the cross-builds (macOS, macOS aarch64, FreeBSD) build; the base's own counts here: core-test 941/1107, shell-test 1149/1152 Co-Authored-By: Claude Opus Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T --- test/snapshots/ttyhelp.golden | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) (limited to 'test/snapshots/ttyhelp.golden') diff --git a/test/snapshots/ttyhelp.golden b/test/snapshots/ttyhelp.golden index 561f34ab..de9471a9 100644 --- a/test/snapshots/ttyhelp.golden +++ b/test/snapshots/ttyhelp.golden @@ -25,20 +25,20 @@ == snap helped grid=100x31 cursor=7,6 |3: $ Help |5: /tmp/pardes-snap/ttyhelp/cwd/+Help Save Term Collapse Follow Del -|6: 1 pardes builtins, and how to run each: -|7: 2 SPC and its keys, a chord, a button, the -|8: 3 topbar - or the name, executed anywhere. -|9: 4 -|10: 5 SPC ? Help topbar -|11: 6 SPC P ClipPasteBefore -|12: 7 SPC R ClipReplace -|13: 8 SPC Y ClipYankMain -|14: 9 SPC c d Delcol -|15: 10 SPC c f Follow -|16: 11 SPC c j Joincol topbar -|17: 12 SPC c n Newcol topbar -|18: 13 SPC d Del -|19: 14 SPC f c Config topbar -|20: 15 SPC f f Find topbar +|6: 1 pardes builtins: each one's keys and its name, then what it does. Run one by its keys, or by↩ +|7: its name anywhere: B2 on the word, Exec , a line of a ctl file, or `pardes do `↩ +|8: from a shell. `Help ` shows one builtin alone; `Help ` (or SPC, those keys, the↩ +|9: n ?) the builtins under SPC and those keys. +|10: 2 +|11: 3 SPC ? Help topbar +|12: 4 Show every builtin with its keys and documentation, or one builtin's alone. +|13: 5 `Help `: that builtin alone, its keys spelled out, what it acts on and its line for a ↩ +|14: shell (`Help Diff`); a setting or an addon's word the same. `Help `: the builtins unde↩ +|15: r SPC and those keys (`Help l`, as `SPC l ?` shows them). Each fills the one +Help: a second↩ +|16: Help replaces its text. +|17: 6 +|18: 7 SPC P ClipPasteBefore +|19: 8 Paste the system clipboard before the selection. +|20: 9 == snap leaderworks grid=100x31 cursor=7,6 |3: $ -- cgit v1.3