From 2e29f8ffebda59aa528c392535b7f1db31be91f8 Mon Sep 17 00:00:00 2001 From: Gabriel Schneider Date: Tue, 24 Nov 2026 21:27:16 -0300 Subject: messages: SPC e acts on the message the notice row leads with, SPC h m is the history newest first, and Esc at rest takes a thing at a time (pick-ui SPEC ยง10.4, walk UI line C item 5): the Message word (SPC e, quiet: what it does shows) lists an error's places in a +Search under the pane and lands on the first (today's list, walked by the Look walk until agent D's picker lands lists in the pane), the error gone; a question gets the keyboard in its tag (View.answering, item 4); anything else, or nothing, opens the history; the history (Messages, SPC h m) is the log ring newest first, each line its kind's glyph, a live error's places under it, a question's answer logged after it; Esc in normal mode at rest takes a search's tints first (Places.clear), then the warnings and errors, then the extra selections (the primary kept), and only then goes back to the previous pane; tests: Messages.zig 'SPC e on an error that names places lists them under the pane and lands on the first, on a question gives its tag the keyboard, and on anything else opens the history, the newest first', 'Esc at rest takes a search's tints first, then the warnings and errors, and only then goes back'; docs/typ/builtins-tui.json from the registry; tui: core-test, shell-test, pane-test, behaviour-test pass; process-test 0 of 146 failed after the builtins and leader goldens took the Messages word's longer doc line MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Opus 5.5 --- test/snapshots/builtins.golden | 6 +++--- test/snapshots/leader.golden | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'test') diff --git a/test/snapshots/builtins.golden b/test/snapshots/builtins.golden index cfcb9d88..86d26b29 100644 --- a/test/snapshots/builtins.golden +++ b/test/snapshots/builtins.golden @@ -91,7 +91,7 @@ |30: ~ |56: +Search 1/1 Save Undock Del |57: /^ +Look -|58: @p2:220:1 Look enter, right-click +|58: @p2:224:1 Look enter, right-click |66: /tmp/pardes-snap/builtins/cwd/+Help:1 == snap docs-group grid=120x67 cursor=7,10 |10: 1 pardes builtins under SPC h @@ -103,7 +103,7 @@ |18: 8 Show this build's version and what changed to reach it, in a +Changelog. |19: 9 |20: 10 SPC h m Messages -|21: 11 Show the messages said so far in a +Messages. +|21: 11 Show the messages said so far in a +Messages, the newest first, an error's places under it. |22: 12 |23: 13 SPC h t Tutor topbar |24: 14 Open the tutor, a document to work through. @@ -116,7 +116,7 @@ == snap tutor-from-index grid=120x67 cursor=7,37 |26: +Search 1/1 Save Undock Del |27: /^ +Look -|28: @p2:220:1 Look enter, right-click +|28: @p2:224:1 Look enter, right-click |36: /tmp/pardes-snap/builtins/cwd/+Tutor Save Term Collapse Follow Del |37: 1 |38: 2 PARDES TUTOR diff --git a/test/snapshots/leader.golden b/test/snapshots/leader.golden index 2076b9b9..8c45af73 100644 --- a/test/snapshots/leader.golden +++ b/test/snapshots/leader.golden @@ -58,7 +58,7 @@ |14: 8 Show this build's version and what changed to reach it, in a +Changelog. |15: 9 |16: 10 SPC h m Messages -|17: 11 Show the messages said so far in a +Messages. +|17: 11 Show the messages said so far in a +Messages, the newest first, an error's places under it. |18: 12 |19: 13 SPC h t Tutor topbar |20: 14 Open the tutor, a document to work through. @@ -116,7 +116,7 @@ |32: 8 Show this build's version and what changed to reach it, in a +Changelog. |33: 9 |34: 10 SPC h m Messages -|35: 11 Show the messages said so far in a +Messages. +|35: 11 Show the messages said so far in a +Messages, the newest first, an error's places under it. |36: 12 |37: 13 SPC h t Tutor topbar |38: 14 Open the tutor, a document to work through. -- cgit v1.3