summaryrefslogtreecommitdiff
path: root/test/snapshots
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-11-25 00:44:54 -0300
committerGabriel Schneider <[email protected]>2026-11-25 01:05:40 -0300
commit32f8f603f30a6e6e196da929fa0df82b8e94f4c1 (patch)
treeed2a839e5aa06da9bd540cb1d9b46b165353fa43 /test/snapshots
parentab4e13779ccda0ac5ce497fd2b706930e2f2845c (diff)
downloadpardes-32f8f603f30a6e6e196da929fa0df82b8e94f4c1.tar.gz
pardes-32f8f603f30a6e6e196da929fa0df82b8e94f4c1.zip
Prompt, Pick: lines D's pickers and E's prompts work together where jumps walk (walk UI M3 item 2, pick-ui SPEC §7.2, §6.3, §7.3): Alt-Enter in a search (`/ ?`) or a sam prompt (`s S K A-K`) keeps the result as a list, a row a place (`path:line:col: text`, the text's leading blanks off, cut to 160 bytes, look.parsePathLine's form so the column lands too), the first Query.max_rows (2000) and a message saying how many there were past it: where jumps walk (Pick.asked: never a 9P script's) a picker of those rows (Pick.Source.list, titled by the prompt's plain word, `/dirty/` or `Edit x/dirty/`, cut to the picker's word at a character's start) in the tag of the pane its Enter lands in, the body as it was before the prompt, its Enter the list word `/dirty/ 3/7` in the trail; under `Jumps new-pane` a search keeps E's query pane (Query.open) and a sam prompt's selections are a +Search list (Output.fillResults), where before Alt-Enter in a sam prompt did nothing; the sam prompts' hints say `M-⏎ as a list` as the search's do; one owner for n and N (§6.3: the newest list or search word, or the one Looked at): a search's places answer n while they light its word (§7.3: tinted while it is the word n walks), so a list landed in the pane (Pick.listed, after Trail.through) puts a search's tints out, n then walking the list (D's walkList already gives way to a newer search word), and Look on the search word (Prompt.lookWord) lights it and takes n back; F's colors.previewTheme stays the one theme preview (no other in the tree; it is derived each step from the live themes picker, Pick.produceAll, so E2's `:theme ` either goes through Pick.Source.themes or derives it the same way); TEST FIRST: Prompt.zig "Alt-Enter in / or s keeps the result as a list ..." (failed before: no picker, Pick.live null), Pick.zig "n and N walk the newest list or search word, or the one Looked at ..." (failed before: the search's places still lit after the list landed, Pick.zig:1912, n stepping the search); E's `?` test loses its Alt-Enter tail (now in the new test, both routings), its `s` head test reads the new hint; five Query/Stream tests about today's query pane opened by Alt-Enter in `/` set `Jumps new-pane` (G's newpane.py); goldens: selregex and msg regenerated (process-test --update), each changed row the sam prompt's hint `⏎ select · M-⏎ as a list · C-r history · esc` and nothing else; tui core-test 1053/1223 (170 skipped, 0 failed); process-test 9 of 146 failed before the two updates: those two and item 1's seven left to item 3
Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNBFhdevVu48bvL9kCE
Diffstat (limited to 'test/snapshots')
-rw-r--r--test/snapshots/msg.golden2
-rw-r--r--test/snapshots/selregex.golden10
2 files changed, 6 insertions, 6 deletions
diff --git a/test/snapshots/msg.golden b/test/snapshots/msg.golden
index 01dbf380..a53cb8d3 100644
--- a/test/snapshots/msg.golden
+++ b/test/snapshots/msg.golden
@@ -49,7 +49,7 @@
|16: · reloaded /tmp/pardes-snap/msg/cwd/a.txt 5 messages · SPC h m
== snap prompt grid=70x17 cursor=43,2
|2: ^ /tmp/pardes-snap/msg/cwd/a.txt Keep s EXT = Exec Edit x/EXT/ 0
-|3: ⏎ select · C-r history · esc
+|3: ⏎ select · M-⏎ as a list · C-r history · esc
|4: 1 EXTERNAL
|5: ~
== snap prompt-wins grid=70x17 cursor=43,2
diff --git a/test/snapshots/selregex.golden b/test/snapshots/selregex.golden
index 1cfd5844..0cf3abed 100644
--- a/test/snapshots/selregex.golden
+++ b/test/snapshots/selregex.golden
@@ -1,7 +1,7 @@
== snap prompt-armed grid=160x25 cursor=45,2
| Newcol Joincol Find Grep Help Changelog Tutor Dump Themes Config History Debug Exit
| New Term Find Grep Joincol Delcol
-|^ /tmp/pardes-snap/selregex/cwd/m.zig Keep s ⏎ select · C-r history · esc
+|^ /tmp/pardes-snap/selregex/cwd/m.zig Keep s ⏎ select · M-⏎ as a list · C-r history · esc
| 1┃const one = 1;
| 2┃const two = 2;
| 3┃const three = 3;
@@ -25,12 +25,12 @@
|
| /tmp/pardes-snap/selregex/cwd/m.zig:3
== snap preview grid=160x25 cursor=50,2
-|2: ^ /tmp/pardes-snap/selregex/cwd/m.zig Keep s const = Exec Edit x/const/ 3 selections in 3 lines ⏎ select · C-r history · esc
+|2: ^ /tmp/pardes-snap/selregex/cwd/m.zig Keep s const = Exec Edit x/const/ 3 selections in 3 lines ⏎ select · M-⏎ as a list · C-r history · esc
|24: /tmp/pardes-snap/selregex/cwd/m.zig:1
== style preview grid=160x25
|0: 0-1 d,#1d2824, 2-159 #b2c3b8,#1d2824,
|1: 0-1 d,#887455, 2-159 #becfc4,#314738,
-|2: 0-1 #000000,#add38a, 2-31 #becfc4,#2c2819, 32-37 #dfbce5,#2c2819, 38-42 #becfc4,#2c2819, 43-43 #add38a,#2c2819,b 44-44 #add38a,#2c2819, 45-49 #becfc4,#2c2819, 50-57 #becfc4,#2c2819,f 58-100 #becfc4,#2c2819, 101-128 #becfc4,#2c2819,f 129-159 #becfc4,#2c2819,
+|2: 0-1 #000000,#add38a, 2-31 #becfc4,#2c2819, 32-37 #dfbce5,#2c2819, 38-42 #becfc4,#2c2819, 43-43 #add38a,#2c2819,b 44-44 #add38a,#2c2819, 45-49 #becfc4,#2c2819, 50-57 #becfc4,#2c2819,f 58-100 #becfc4,#2c2819, 101-144 #becfc4,#2c2819,f 145-159 #becfc4,#2c2819,
|3: 0-0 d,#608269, 1-1 d,#0d1410, 2-4 d,#0d1410,b 5-5 #616f64,#0d1410,b 6-6 #add38a,#0d1410,b 7-10 #f5f7ee,#3c614a, 11-11 #3c614a,#f5f7ee, 12-12 #3c614a,#0d1410, 13-18 #e5eee5,#0d1410, 19-19 #f8c082,#0d1410, 20-159 #e5eee5,#0d1410,
|4: 0-0 d,#608269, 1-4 d,#0d1410, 5-5 #59675c,#0d1410, 6-6 #add38a,#0d1410, 7-10 #f5f7ee,#243a2d, 11-11 #3c614a,#f5f7ee, 12-12 #3c614a,#0d1410, 13-18 #e5eee5,#0d1410, 19-19 #f8c082,#0d1410, 20-159 #e5eee5,#0d1410,
|5: 0-0 d,#608269, 1-4 d,#0d1410, 5-5 #59675c,#0d1410, 6-6 #add38a,#0d1410, 7-10 #f5f7ee,#243a2d, 11-11 #3c614a,#f5f7ee, 12-12 #3c614a,#0d1410, 13-20 #e5eee5,#0d1410, 21-21 #f8c082,#0d1410, 22-159 #e5eee5,#0d1410,
@@ -64,12 +64,12 @@
|4: 0-0 d,#608269, 1-4 d,#0d1410, 5-6 #59675c,#0d1410, 7-10 #f5f7ee,#243a2d, 11-11 #3c614a,#f5f7ee, 12-12 #3c614a,#0d1410, 13-18 #e5eee5,#0d1410, 19-19 #f8c082,#0d1410, 20-159 #e5eee5,#0d1410,
|5: 0-0 d,#608269, 1-4 d,#0d1410, 5-6 #59675c,#0d1410, 7-10 #f5f7ee,#243a2d, 11-11 #3c614a,#f5f7ee, 12-12 #3c614a,#0d1410, 13-20 #e5eee5,#0d1410, 21-21 #f8c082,#0d1410, 22-159 #e5eee5,#0d1410,
== snap narrowed grid=160x25 cursor=62,2
-|2: ^ Edit x/const/ › /tmp/pardes-snap/selregex/cwd/m.zig Keep s t = Exec Edit x/t/ 3 selections in 3 lines ⏎ select · C-r history · esc
+|2: ^ Edit x/const/ › /tmp/pardes-snap/selregex/cwd/m.zig Keep s t = Exec Edit x/t/ 3 selections in 3 lines ⏎ select · M-⏎ as a list · C-r history · esc
|3: 1┃const one = 1;
|4: 2┃const two = 2;
|5: 3┃const three = 3;
== style narrowed grid=160x25
-|2: 0-1 #000000,#add38a, 2-47 #becfc4,#2c2819, 48-53 #dfbce5,#2c2819, 54-58 #becfc4,#2c2819, 59-59 #add38a,#2c2819,b 60-60 #add38a,#2c2819, 61-61 #becfc4,#2c2819, 62-69 #becfc4,#2c2819,f 70-108 #becfc4,#2c2819, 109-136 #becfc4,#2c2819,f 137-159 #becfc4,#2c2819,
+|2: 0-1 #000000,#add38a, 2-47 #becfc4,#2c2819, 48-53 #dfbce5,#2c2819, 54-58 #becfc4,#2c2819, 59-59 #add38a,#2c2819,b 60-60 #add38a,#2c2819, 61-61 #becfc4,#2c2819, 62-69 #becfc4,#2c2819,f 70-108 #becfc4,#2c2819, 109-152 #becfc4,#2c2819,f 153-159 #becfc4,#2c2819,
|3: 0-0 d,#608269, 1-1 d,#0d1410, 2-4 d,#0d1410,b 5-5 #616f64,#0d1410,b 6-6 #add38a,#0d1410,b 7-10 #e5eee5,#0d1410, 11-11 #3c614a,#f5f7ee, 12-12 #3c614a,#0d1410, 13-18 #e5eee5,#0d1410, 19-19 #f8c082,#0d1410, 20-159 #e5eee5,#0d1410,
|4: 0-0 d,#608269, 1-4 d,#0d1410, 5-5 #59675c,#0d1410, 6-6 #add38a,#0d1410, 7-10 #e5eee5,#0d1410, 11-11 #3c614a,#f5f7ee, 12-12 #3c614a,#0d1410, 13-18 #e5eee5,#0d1410, 19-19 #f8c082,#0d1410, 20-159 #e5eee5,#0d1410,
|5: 0-0 d,#608269, 1-4 d,#0d1410, 5-5 #59675c,#0d1410, 6-6 #add38a,#0d1410, 7-10 #e5eee5,#0d1410, 11-11 #3c614a,#f5f7ee, 12-12 #3c614a,#0d1410, 13-20 #e5eee5,#0d1410, 21-21 #f8c082,#0d1410, 22-159 #e5eee5,#0d1410,