From 5c941c2278a4e099f3cd4bae1b29a783f88a95b0 Mon Sep 17 00:00:00 2001 From: Gabriel Schneider Date: Tue, 24 Nov 2026 23:08:45 -0300 Subject: Messages, Pick, Output: where jumps walk, SPC e lands an error's places as a list in the pane's walk through D's picker, and SPC h m is a picker over the history in the pane's tag (walk UI G item 2c, SPEC §10.4, §5.1's messages source), C's stopgaps replaced: SPC e (Messages.act) made a +Search under the pane and walked it with the Look walk; now, when Pick.asked (jumps walk, not a 9P script), it opens Pick's `list` with the places as rows, its word `✗ ` (cut at a character's start to the word's 24 bytes), and lands its first row at once as the prototype's actOnMessage does (openPicker then accept): the pane steps (or its reader, the pane being held), the list word goes into its trail before the place, n and N walk the places through Pick.walkList; the history (Messages.history, from SPC e with nothing to act on and from the Messages word, SPC h m) is Pick's new source `messages`, its rows Output.messagesText (openMessages' text, split out), the newest first, a place indented under its error; Enter on a message row gives the keyboard to its cause's pane while it is open, on a place row Looks the place; C-q keeps it as the +Messages (Pick.keep); the source is not offered among the picker's other sources (its second row), as `list` is not; where jumps open panes, and for a 9P script, both are as C made them; the Message and Messages docs say so (builtins-{tui,gui}.json regenerated); TEST FIRST: Messages.zig 'where jumps walk, SPC e lands an error's places as a list in the pane's walk, n walking them; SPC h m is a picker over the history…' (no pane made, the caret on the first place and then the second, the word `✗ @p9 zig build 1/2` then `2/2` in the tag, the history's rows newest first, Enter on a message, C-q the +Messages); C's own SPC e test keeps the +Search way (jumps open panes there); GOLDENS: builtins (SPC h m's doc two rows longer: the rows under it, Tutor's among them, two lower; the +Look's line 237 for 236; tty_boot.zig's click on Tutor's row 32 for 30) and leader (the same doc rows in help-group), nothing else; tui core-test 1035/1204 (169 skipped), process-test 0 of 146 failed after those two updates (2 before them: those two) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Opus 5.5 --- test/snapshots/leader.golden | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) (limited to 'test/snapshots/leader.golden') diff --git a/test/snapshots/leader.golden b/test/snapshots/leader.golden index 2714ad2c..b341731d 100644 --- a/test/snapshots/leader.golden +++ b/test/snapshots/leader.golden @@ -77,12 +77,14 @@ |21: is bound to is shown struck, `runs nothing`. Esc leaves it. |22: 13 |23: 14 SPC h m Messages -|24: 15 Show the messages said so far in a +Messages, the newest first, an error's places under it. -|25: 16 -|26: 17 SPC h t Tutor topbar -|27: 18 Open the tutor, a document to work through. -|28: 19 -|29: ~ +|24: 15 Show the messages said so far, the newest first, an error's places under it. +|25: 16 Where jumps walk, a list in the pane's tag: Enter Looks a row (a message's cause, a place), ↩ +|26: C-q keeps it as a +Messages; else the +Messages. +|27: 17 +|28: 18 SPC h t Tutor topbar +|29: 19 Open the tutor, a document to work through. +|30: 20 +|31: ~ |40: ✓ /tmp/pardes-snap/leader/cwd/cmds.txt Help 4 messages · SPC h m == snap tutor grid=100x41 cursor=7,23 |22: /tmp/pardes-snap/leader/cwd/+Tutor Save Term Collapse Follow Del -- cgit v1.3