From 5bfea157e191f2ce8442ddfa9af0955c345d1623 Mon Sep 17 00:00:00 2001 From: Gabriel Schneider Date: Thu, 26 Nov 2026 10:31:24 -0300 Subject: test/snapshots: the eight goldens with a frame out of rest re-recorded under UX DESIGN M (the change before: the tag stays as at rest, the head on the row under it, then the band), read snap by snap against their recording on M2 (8959b031dc33) with .scratch/walkui/W5/gdiff.py (M2's gcmp.py parser: each label's changed rows, its cursor, the rows whose styles moved); every moved row is one of five classes, none other: (1) A LEVEL ROLLED (leader's spc, spc-h, unmapped; find's group): the tag's row is the rest tag again (`/…/cmds.txt Keep Del`, `/…/here.txt Keep Del`), the level's rows one row down from the row under it (`␣ ▸ b buffer…` row 1 -> 2, its continuation rows 2-3 -> 3-4), over the body's first row; spc-h's and group's caret, on line 1, hidden while it is covered (`cursor 7,2 -> hidden`: UX DESIGN I1, the caret's line may be covered while a level is up); (2) A TEXT PROMPT (pipe's prompt; selregex's prompt-armed, preview, narrowed; msg's prompt, prompt-wins; fsearch's slash, typing, nomatch): the tag's row the rest tag (selregex's narrowed `Edit x/const/ › /…/m.zig Keep Del`, its recipe word in the trail as at rest; fsearch's `‹@p1 › /…/g.txt Keep Del`), the head (`| tr a-z A-Z = Exec Edit |tr a-z A-Z … 1 line → 1`, `s const = Exec Edit x/const/ … 3 selections in 3 lines`, `/ MARK = Look /MARK/ … 1/3 · 3 lines`, `s EXT … 0`) on the row under it over the body's first line, the field's caret one row down; the styles that moved are those two rows' alone (selregex preview and narrowed: 219 cells on rows 1-2; fsearch typing: 152 cells on rows 16-17); (3) A PICKER IN A READING PANE (find's armed, typing, next, nomatch, topbar; lsp's symbols, step, nothing; fsearch's list, ctrln): the tag's row the rest tag (lsp's `a.zig:8 › /…/a.zig Keep Del`, where its head followed `a.zig:8 › `), the head `␣ f Find … 1/5` / `␣ l Symbols …` from the tag's text column on the row under it, the act row and the list's rows one row down, their spines under the head's key cells at columns 2 and 4 (lsp's were after the prefix, at 12 and 14), the field's caret one row down; the preview under them a row lower; (4) A PICKER'S BORROWED ROWS (fsearch's list, ctrln): the landing pane holds a body of 60 % under its tag, head and band (UX D6, M4), and the head's row is one more row above that body: its floor goes from 15 rows to 18 (tag 1 + head 2 + band 4 = 7, then 11), so the pane above gives three more rows and the landing pane's tag is three rows higher (row 15 -> 12); and at rest after the landing (fsearch's landed) the view is a line less scrolled (line 1 at its top, `6 MARK b` on row 22, was 21): the landing put the place at a third of the preview's body, two rows taller now; (5) HELP IN A +Help (ttyhelp's leaderworks): the tag's row `/…/+Help Del`, `Help tutor 1/1` on the row under it, the rows and the doc one row down; no golden at rest moved (the 94 others, and every rest frame of these eight but fsearch's landed, the same byte for byte); the dump format did not change (no pane or view field), so no fuzz and no soak; GATES: process-test 0 of 149 failed (3 skipped; the eight failed on the change before, each its golden); pane-test 184/185 (1 skipped), term-test 17/17, kitty-test 45/45 (this tree, the code-actions fix in); load 3.3 to 6.9 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_016Y9MNBFhdevVu48bvL9kCE --- test/snapshots/find.golden | 81 ++++++++++++++++++++----------------- test/snapshots/fsearch.golden | 92 +++++++++++++++++++++--------------------- test/snapshots/leader.golden | 17 ++++---- test/snapshots/lsp.golden | 55 ++++++++++++------------- test/snapshots/msg.golden | 9 +++-- test/snapshots/pipe.golden | 6 +-- test/snapshots/selregex.golden | 24 +++++------ test/snapshots/ttyhelp.golden | 13 +++--- 8 files changed, 151 insertions(+), 146 deletions(-) (limited to 'test') diff --git a/test/snapshots/find.golden b/test/snapshots/find.golden index 50b57e11..97b9e00a 100644 --- a/test/snapshots/find.golden +++ b/test/snapshots/find.golden @@ -1,7 +1,7 @@ -== snap group grid=120x41 cursor=7,2 +== snap group grid=120x41 cursor=hidden | New Term Find Grep Newcol Help Exit +| /tmp/pardes-snap/find/cwd/here.txt Keep Del | ␣ f ▸ c Config f Find g Grep h History l Lists n New r Recent s Save ↓ unroll · ? help -| 1 Find zqm | | | @@ -40,29 +40,30 @@ | | | /tmp/pardes-snap/find/cwd/here.txt:1 -== snap armed grid=120x41 cursor=11,1 -|1: ^ ␣ f Find 1/5 -|2: │ │ Walk Look Split Newcol Grep Edit Copy Keep Drop | Grep Recent Panes Symbols All Jumplist -|3: │ │ ▶ here.txt -|4: │ │ other.txt +== snap armed grid=120x41 cursor=11,2 +|1: ^ /tmp/pardes-snap/find/cwd/here.txt Keep Del +|2: ␣ f Find 1/5 +|3: │ │ Walk Look Split Newcol Grep Edit Copy Keep Drop | Grep Recent Panes Symbols All Jumplist +|4: │ │ ▶ here.txt +|5: │ │ other.txt +|6: │ │ sub/ZQMARK-beta.txt +|7: │ │ sub/nest/zqmark-gamma.txt +|8: │ │ zqmark-alpha.txt +|9: 1▸Find zqm +|40: ⏎ lands here · its text is the preview · S-⏎ a new pane 1 message · SPC h m +== snap typing grid=120x41 cursor=14,2 +|2: ␣ f Find zqm 1/3 +|4: │ │ ▶ zqmark-alpha.txt |5: │ │ sub/ZQMARK-beta.txt |6: │ │ sub/nest/zqmark-gamma.txt -|7: │ │ zqmark-alpha.txt -|8: 1▸Find zqm -|40: ⏎ lands here · its text is the preview · S-⏎ a new pane 1 message · SPC h m -== snap typing grid=120x41 cursor=14,1 -|1: ^ ␣ f Find zqm 1/3 -|3: │ │ ▶ zqmark-alpha.txt -|4: │ │ sub/ZQMARK-beta.txt -|5: │ │ sub/nest/zqmark-gamma.txt -|6: │ │ |7: │ │ -|8: 1▸alpha body -== snap next grid=120x41 cursor=14,1 -|1: ^ ␣ f Find zqm 2/3 -|3: │ │ zqmark-alpha.txt -|4: │ │ ▶ sub/ZQMARK-beta.txt -|8: 1▸beta body +|8: │ │ +|9: 1▸alpha body +== snap next grid=120x41 cursor=14,2 +|2: ␣ f Find zqm 2/3 +|4: │ │ zqmark-alpha.txt +|5: │ │ ▶ sub/ZQMARK-beta.txt +|9: 1▸beta body == snap promoted grid=120x41 cursor=7,2 |1: here.txt:1 › Find zqm 2/3 › /tmp/pardes-snap/find/cwd/sub/ZQMARK-beta.txt Keep Del |2: 1 beta body @@ -72,15 +73,17 @@ |6: |7: |8: +|9: |40: ✓ C-o back to Find zqm 2/3 1 message · SPC h m -== snap nomatch grid=120x41 cursor=30,1 -|1: ^ Find zqm 2/3 › ␣ f Find zzqq 0 -|2: │ │ Walk Look Split Newcol Grep Edit Copy Keep Drop | Grep Recent Panes Symbols All Jumplist -|3: │ │ nothing matches -|4: │ │ -|5: │ │ -|6: │ │ -|7: │ │ +== snap nomatch grid=120x41 cursor=15,2 +|1: ^ here.txt:1 › Find zqm 2/3 › /tmp/pardes-snap/find/cwd/sub/ZQMARK-beta.txt Keep Del +|2: ␣ f Find zzqq 0 +|3: │ │ Walk Look Split Newcol Grep Edit Copy Keep Drop | Grep Recent Panes Symbols All Jumplist +|4: │ │ nothing matches +|5: │ │ +|6: │ │ +|7: │ │ +|8: │ │ |40: ⏎ lands here · its text is the preview · S-⏎ a new pane 1 message · SPC h m == snap cancel grid=120x41 cursor=7,2 |1: here.txt:1 › Find zqm 2/3 › /tmp/pardes-snap/find/cwd/sub/ZQMARK-beta.txt Keep Del @@ -90,13 +93,15 @@ |5: |6: |7: +|8: |40: ✓ /tmp/pardes-snap/find/cwd/sub/ZQMARK-beta.txt Find 1 message · SPC h m -== snap topbar grid=120x41 cursor=29,1 -|1: ^ Find zqm 2/3 › ␣ f Find bod 0 -|2: │ │ Walk Look Split Newcol Grep Edit Copy Keep Drop | Grep Recent Panes Symbols All Jumplist -|3: │ │ nothing matches -|4: │ │ -|5: │ │ -|6: │ │ -|7: │ │ +== snap topbar grid=120x41 cursor=14,2 +|1: ^ here.txt:1 › Find zqm 2/3 › /tmp/pardes-snap/find/cwd/sub/ZQMARK-beta.txt Keep Del +|2: ␣ f Find bod 0 +|3: │ │ Walk Look Split Newcol Grep Edit Copy Keep Drop | Grep Recent Panes Symbols All Jumplist +|4: │ │ nothing matches +|5: │ │ +|6: │ │ +|7: │ │ +|8: │ │ |40: ⏎ lands here · its text is the preview · S-⏎ a new pane 1 message · SPC h m diff --git a/test/snapshots/fsearch.golden b/test/snapshots/fsearch.golden index 834c95af..a2367418 100644 --- a/test/snapshots/fsearch.golden +++ b/test/snapshots/fsearch.golden @@ -30,10 +30,11 @@ | 12 l12 | | · @p1 a copy of the terminal's text: Tab or B2 runs it; what the program draws next replaces it (Ctrl-b types to the program) 1 message · SPC h m -== snap slash grid=180x31 cursor=101,16 -|16: /tmp/pardes-snap/fsearch/cwd Del Term+bash ^ ‹@p1 › / ⏎ land · M-⏎ as a list · C-r history · esc -== snap typing grid=180x31 cursor=105,16 -|16: /tmp/pardes-snap/fsearch/cwd Del Term+bash ^ ‹@p1 › / MARK = Look /MARK/ 1/3 · 3 lines ⏎ land · M-⏎ as a list · C-r history · esc +== snap slash grid=180x31 cursor=94,17 +|16: /tmp/pardes-snap/fsearch/cwd Del Term+bash ^ ‹@p1 › /tmp/pardes-snap/fsearch/cwd/g.txt Keep Del +|17: ls / ⏎ land · M-⏎ as a list · C-r history · esc +== snap typing grid=180x31 cursor=98,17 +|17: ls / MARK = Look /MARK/ 1/3 · 3 lines ⏎ land · M-⏎ as a list · C-r history · esc |18: g.txt 2▸MARK a == style typing grid=180x31 |0: 0-151 d,#1d2824, 152-179 #b2c3b8,#1d2824, @@ -52,8 +53,8 @@ |13: 0-0 d,#608269, 1-89 d,#0d1410, 90-90 d,#608269, 91-179 d,#0d1410, |14: 0-0 d,#608269, 1-89 d,#0d1410, 90-90 d,#608269, 91-179 d,#0d1410, |15: 0-0 d,#608269, 1-89 d,#0d1410, 90-90 d,#608269, 91-179 d,#0d1410, -|16: 0-1 d,#465a43, 2-34 #b2c3b8,#1d2824, 35-89 #d3b0d9,#1d2824, 90-91 #000000,#add38a, 92-98 #becfc4,#2c2c0f, 99-99 #bada9d,#2c2c0f,b 100-100 #bada9d,#2c2c0f, 101-106 #becfc4,#2c2c0f, 107-113 #79836f,#2c2c0f, 114-126 #becfc4,#2c2c0f, 127-179 #79836f,#2c2c0f, -|17: 0-0 d,#608269, 1-1 d,#0d1410, 2-89 #e5eee5,#0d1410, 90-90 #e5eee5,#608269, 91-94 #e5eee5,#0d1410, 95-96 #59675c,#0d1410, 97-179 #e5eee5,#0d1410, +|16: 0-1 d,#465a43, 2-34 #b2c3b8,#1d2824, 35-89 #d3b0d9,#1d2824, 90-91 #000000,#add38a, 92-127 #becfc4,#2c2c0f, 128-133 #ecc8f2,#2c2c0f, 134-179 #becfc4,#2c2c0f, +|17: 0-0 d,#608269, 1-1 d,#0d1410, 2-89 #e5eee5,#0d1410, 90-91 #e5eee5,#2c2c0f, 92-92 #bada9d,#2c2c0f,b 93-93 #bada9d,#2c2c0f, 94-99 #becfc4,#2c2c0f, 100-106 #79836f,#2c2c0f, 107-126 #becfc4,#2c2c0f, 127-179 #79836f,#2c2c0f, |18: 0-0 d,#608269, 1-1 d,#0d1410, 2-89 #e5eee5,#0d1410, 90-90 #e5eee5,#e5eee5, 91-91 #e5eee5,#0d1410, 92-94 #e5eee5,#0d1410,b 95-95 #616f64,#0d1410,b 96-96 #add38a,#0d1410,b 97-100 #0d1410,#917a53, 101-101 #0d1410,#0d1410, 102-179 #e5eee5,#0d1410, |19: 0-0 d,#608269, 1-89 d,#0d1410, 90-90 d,#608269, 91-94 d,#0d1410, 95-96 #59675c,#0d1410, 97-179 #e5eee5,#0d1410, |20: 0-0 d,#608269, 1-89 d,#0d1410, 90-90 d,#608269, 91-94 d,#0d1410, 95-96 #59675c,#0d1410, 97-179 #e5eee5,#0d1410, @@ -67,55 +68,47 @@ |28: 0-0 d,#608269, 1-89 d,#0d1410, 90-90 d,#608269, 91-93 d,#0d1410, 94-96 #59675c,#0d1410, 97-179 #e5eee5,#0d1410, |29: 0-0 d,#608269, 1-89 d,#0d1410, 90-90 d,#608269, 91-179 d,#0d1410, |30: 0-1 d,#1d2824, 2-179 #6f7d75,#1d2824, -== snap list grid=180x31 cursor=110,15 -|15: ^ ‹@p1 › ␣ l /MARK/ 1/3 -|16: /tmp/pardes-snap/fsearch/cwd Del Term+bash │ │ Walk Look Split Newcol Grep Edit Copy Keep Drop | Find Grep Recent Panes … -|17: ls │ │ ▶ /tmp/pardes-snap/fsearch/cwd/g.txt:2:1: MARK a -|18: g.txt │ │ /tmp/pardes-snap/fsearch/cwd/g.txt:6:1: MARK b -|19: │ │ /tmp/pardes-snap/fsearch/cwd/g.txt:10:1: MARK c -|20: │ │ -|21: 1 l1 -|22: 2▸MARK a -|23: 3 l3 -|24: 4 l4 -|25: 5 l5 -|26: 6 MARK b -|27: 7 l7 -|28: 8 l8 -|29: 9 l9 -|30: ⏎ lands here · its text is the preview · S-⏎ a new pane 1 message · SPC h m -== snap ctrln grid=180x31 cursor=110,15 -|15: ^ ‹@p1 › ␣ l /MARK/ 2/3 -|17: ls │ │ /tmp/pardes-snap/fsearch/cwd/g.txt:2:1: MARK a -|18: g.txt │ │ ▶ /tmp/pardes-snap/fsearch/cwd/g.txt:6:1: MARK b +== snap list grid=180x31 cursor=103,13 +|12: ^ ‹@p1 › /tmp/pardes-snap/fsearch/cwd/g.txt Keep Del +|13: ␣ l /MARK/ 1/3 +|14: │ │ Walk Look Split Newcol Grep Edit Copy Keep Drop | Find Grep Recent Panes Symbols … +|15: │ │ ▶ /tmp/pardes-snap/fsearch/cwd/g.txt:2:1: MARK a +|16: /tmp/pardes-snap/fsearch/cwd Del Term+bash │ │ /tmp/pardes-snap/fsearch/cwd/g.txt:6:1: MARK b +|17: ls │ │ /tmp/pardes-snap/fsearch/cwd/g.txt:10:1: MARK c +|18: g.txt │ │ +|19: 1 l1 +|20: 2▸MARK a |21: 3 l3 |22: 4 l4 |23: 5 l5 -|24: 6▸MARK b +|24: 6 MARK b |25: 7 l7 |26: 8 l8 |27: 9 l9 |28: 10 MARK c |29: 11 l11 -== snap landed grid=180x31 cursor=97,21 +|30: ⏎ lands here · its text is the preview · S-⏎ a new pane 1 message · SPC h m +== snap ctrln grid=180x31 cursor=103,13 +|13: ␣ l /MARK/ 2/3 +|15: │ │ /tmp/pardes-snap/fsearch/cwd/g.txt:2:1: MARK a +|16: /tmp/pardes-snap/fsearch/cwd Del Term+bash │ │ ▶ /tmp/pardes-snap/fsearch/cwd/g.txt:6:1: MARK b +|19: 2 MARK a +|20: 3 l3 +|21: 4 l4 +|22: 5 l5 +|23: 6▸MARK b +|24: 7 l7 +|25: 8 l8 +|26: 9 l9 +|27: 10 MARK c +|28: 11 l11 +|29: 12 l12 +== snap landed grid=180x31 cursor=97,22 +|12: +|13: +|14: |15: |16: /tmp/pardes-snap/fsearch/cwd Del Term+bash ‹@p1 › g.txt:1 › /MARK/ 2/3 › /tmp/pardes-snap/fsearch/cwd/g.txt Keep Del -|17: ls 2 MARK a -|18: g.txt 3 l3 -|19: 4 l4 -|20: 5 l5 -|21: 6 MARK b -|22: 7 l7 -|23: 8 l8 -|24: 9 l9 -|25: 10 MARK c -|26: 11 l11 -|27: 12 l12 -|28: -|29: -|30: ✓ C-o back to /MARK/ 2/3 1 message · SPC h m -== snap n grid=180x31 cursor=97,26 -|16: /tmp/pardes-snap/fsearch/cwd Del Term+bash ‹@p1 › g.txt:1 › /MARK/ 3/3 › /tmp/pardes-snap/fsearch/cwd/g.txt Keep Del |17: ls 1 l1 |18: g.txt 2 MARK a |19: 3 l3 @@ -128,8 +121,13 @@ |26: 10 MARK c |27: 11 l11 |28: 12 l12 +|29: +|30: ✓ C-o back to /MARK/ 2/3 1 message · SPC h m +== snap n grid=180x31 cursor=97,26 +|16: /tmp/pardes-snap/fsearch/cwd Del Term+bash ‹@p1 › g.txt:1 › /MARK/ 3/3 › /tmp/pardes-snap/fsearch/cwd/g.txt Keep Del == snap N grid=180x31 cursor=97,22 |16: /tmp/pardes-snap/fsearch/cwd Del Term+bash ‹@p1 › g.txt:1 › /MARK/ 2/3 › /tmp/pardes-snap/fsearch/cwd/g.txt Keep Del == snap cancel grid=180x31 cursor=97,22 -== snap nomatch grid=180x31 cursor=118,16 -|16: /tmp/pardes-snap/fsearch/cwd Del Term+bash ^ ‹@p1 › /MARK/ 2/3 › / zzqq = Look /zzqq/ 0 ⏎ land · M-⏎ as a list · C-r history · esc +== snap nomatch grid=180x31 cursor=98,17 +|16: /tmp/pardes-snap/fsearch/cwd Del Term+bash ^ ‹@p1 › g.txt:1 › /MARK/ 2/3 › /tmp/pardes-snap/fsearch/cwd/g.txt Keep Del +|17: ls / zzqq = Look /zzqq/ 0 ⏎ land · M-⏎ as a list · C-r history · esc diff --git a/test/snapshots/leader.golden b/test/snapshots/leader.golden index 02cacea2..fbd96933 100644 --- a/test/snapshots/leader.golden +++ b/test/snapshots/leader.golden @@ -1,5 +1,6 @@ == snap spc grid=100x41 cursor=hidden | New Term Find Grep Newcol Help Exit +| /tmp/pardes-snap/leader/cwd/cmds.txt Keep Del | ␣ ▸ b buffer… c column… f file… h help… j jump… l lsp… n new… s session… t view… ' Resume | │ / All ? Help d Del e Message p ClipPaste P ClipPasteBefore q Exit R ClipReplace | │ w Window y ClipYank Y ClipYankMain ↓ unroll · ? help @@ -38,20 +39,18 @@ | | | -| | /tmp/pardes-snap/leader/cwd/cmds.txt:1 -== snap spc-h grid=100x41 cursor=7,2 -|1: ␣ h ▸ b Build c Changelog k Keys m Messages t Tutor ↓ unroll · ? help -|2: 1 Help Help h Help t Help c Help l +== snap spc-h grid=100x41 cursor=hidden +|2: ␣ h ▸ b Build c Changelog k Keys m Messages t Tutor ↓ unroll · ? help |3: +|4: == snap abandoned grid=100x41 cursor=7,2 -|1: /tmp/pardes-snap/leader/cwd/cmds.txt Keep Del +|2: 1 Help Help h Help t Help c Help l == snap unmapped grid=100x41 cursor=hidden -|1: ␣ ▸ b buffer… c column… f file… h help… j jump… l lsp… n new… s session… t view… ' Resume -|2: │ / All ? Help d Del e Message p ClipPaste P ClipPasteBefore q Exit R ClipReplace -|3: │ w Window y ClipYank Y ClipYankMain x ↓ unroll · ? help +|2: ␣ ▸ b buffer… c column… f file… h help… j jump… l lsp… n new… s session… t view… ' Resume +|3: │ / All ? Help d Del e Message p ClipPaste P ClipPasteBefore q Exit R ClipReplace +|4: │ w Window y ClipYank Y ClipYankMain x ↓ unroll · ? help == snap help-group grid=100x41 cursor=7,5 -|1: /tmp/pardes-snap/leader/cwd/cmds.txt Keep Del |2: 1 Help Help h Help t Help c Help l |3: |4: /tmp/pardes-snap/leader/cwd/+Help Del diff --git a/test/snapshots/lsp.golden b/test/snapshots/lsp.golden index ba9eb781..5f0720a9 100644 --- a/test/snapshots/lsp.golden +++ b/test/snapshots/lsp.golden @@ -57,31 +57,32 @@ |12: 9 } |13: ~ |40: ✓ /tmp/pardes-snap/lsp/cwd/a.zig Hover 1 message · SPC h m -== snap symbols grid=120x41 cursor=24,1 -|1: ^ a.zig:8 › ␣ l Symbols 1/3 -|2: │ │ Walk Look Split Newcol Grep Edit Copy Keep Drop | Find Grep Recent Panes Symbols All Jumplist -|3: │ │ ▶ a.zig:3:4-9 f helper -|4: │ │ a.zig:7:8-11 f main -|5: │ │ a.zig:1:7-9 c std -|6: │ │ -|7: 1 const std = @import("std"); -|8: 2 -|9: 3▸fn helper(x: u32) u32 { -|10: fn helper(x: u32) u32 -|11: (fn (u32) u32) -|12: 4 return x + 1; -|13: 5 } -|14: 6 -|15: 7 pub fn main() void { -|16: 8 _ = helper(41); -|17: 9 } -|18: ~ +== snap symbols grid=120x41 cursor=14,2 +|1: ^ a.zig:8 › /tmp/pardes-snap/lsp/cwd/a.zig Keep Del +|2: ␣ l Symbols 1/3 +|3: │ │ Walk Look Split Newcol Grep Edit Copy Keep Drop | Find Grep Recent Panes Symbols All Jumplist +|4: │ │ ▶ a.zig:3:4-9 f helper +|5: │ │ a.zig:7:8-11 f main +|6: │ │ a.zig:1:7-9 c std +|7: │ │ +|8: 1 const std = @import("std"); +|9: 2 +|10: 3▸fn helper(x: u32) u32 { +|11: fn helper(x: u32) u32 +|12: (fn (u32) u32) +|13: 4 return x + 1; +|14: 5 } +|15: 6 +|16: 7 pub fn main() void { +|17: 8 _ = helper(41); +|18: 9 } +|19: ~ |40: ⏎ lands here · its text is the preview · S-⏎ a new pane 2 messages · SPC h m -== snap step grid=120x41 cursor=27,1 -|1: ^ a.zig:8 › ␣ l Symbols jn 0 -|3: │ │ nothing matches -|4: │ │ -|5: │ │ -|9: 3 fn helper(x: u32) u32 { -== snap nothing grid=120x41 cursor=29,1 -|1: ^ a.zig:8 › ␣ l Symbols jngd 0 +== snap step grid=120x41 cursor=17,2 +|2: ␣ l Symbols jn 0 +|4: │ │ nothing matches +|5: │ │ +|6: │ │ +|10: 3 fn helper(x: u32) u32 { +== snap nothing grid=120x41 cursor=19,2 +|2: ␣ l Symbols jngd 0 diff --git a/test/snapshots/msg.golden b/test/snapshots/msg.golden index 09249970..506f4603 100644 --- a/test/snapshots/msg.golden +++ b/test/snapshots/msg.golden @@ -48,13 +48,14 @@ |7: |8: |16: · reloaded /tmp/pardes-snap/msg/cwd/a.txt 5 messages · SPC h m -== snap prompt grid=70x17 cursor=7,1 -|1: ^ s EXT = Exec Edit x/EXT/ 0 -== snap prompt-wins grid=70x17 cursor=7,1 -|2: 1 AGAIN +== snap prompt grid=70x17 cursor=7,2 +|1: ^ /tmp/pardes-snap/msg/cwd/a.txt Keep Undo Del +|2: s EXT = Exec Edit x/EXT/ 0 +== snap prompt-wins grid=70x17 cursor=7,2 |16: · reloaded /tmp/pardes-snap/msg/cwd/a.txt ×2 5 messages · SPC h m == snap esc grid=70x17 cursor=7,3 |1: /tmp/pardes-snap/msg/cwd/a.txt Keep Undo Del +|2: 1 AGAIN == snap msgbuiltin grid=70x17 cursor=29,4 |1: */tmp/pardes-snap/msg/cwd/a.txt Save Undo Del |3: 2 diff --git a/test/snapshots/pipe.golden b/test/snapshots/pipe.golden index ff3092d8..e9fc165a 100644 --- a/test/snapshots/pipe.golden +++ b/test/snapshots/pipe.golden @@ -1,7 +1,7 @@ -== snap prompt grid=180x13 cursor=14,1 +== snap prompt grid=180x13 cursor=14,2 | New Term Find Grep Newcol Help Exit -|^ | tr a-z A-Z = Exec Edit |tr a-z A-Z 1 line → 1 · exit 0 ⏎ replace · C-r history · esc -| 1 alpha beta +|^ /tmp/pardes-snap/pipe/cwd/pipe.txt Keep Del +| | tr a-z A-Z = Exec Edit |tr a-z A-Z 1 line → 1 · exit 0 ⏎ replace · C-r history · esc | ALPHA BETA | 2 gamma delta | diff --git a/test/snapshots/selregex.golden b/test/snapshots/selregex.golden index 664c8cca..4b704ee9 100644 --- a/test/snapshots/selregex.golden +++ b/test/snapshots/selregex.golden @@ -1,7 +1,7 @@ -== snap prompt-armed grid=160x25 cursor=4,1 +== snap prompt-armed grid=160x25 cursor=4,2 | New Term Find Grep Newcol Help Exit -|^ s ⏎ select · M-⏎ as a list · C-r history · esc -| 1┃const one = 1; +|^ /tmp/pardes-snap/selregex/cwd/m.zig Keep Del +| s ⏎ select · M-⏎ as a list · C-r history · esc | 2┃const two = 2; | 3┃const three = 3; | ~ @@ -24,13 +24,13 @@ | | | /tmp/pardes-snap/selregex/cwd/m.zig:3 -== snap preview grid=160x25 cursor=9,1 -|1: ^ s const = Exec Edit x/const/ 3 selections in 3 lines ⏎ select · M-⏎ as a list · C-r history · esc +== snap preview grid=160x25 cursor=9,2 +|2: 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 #000000,#add38a, 2-2 #bada9d,#2c2c0f,b 3-3 #bada9d,#2c2c0f, 4-10 #becfc4,#2c2c0f, 11-17 #79836f,#2c2c0f, 18-115 #becfc4,#2c2c0f, 116-159 #79836f,#2c2c0f, -|2: 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, +|1: 0-1 #000000,#add38a, 2-31 #becfc4,#2c2c0f, 32-37 #ecc8f2,#2c2c0f, 38-159 #becfc4,#2c2c0f, +|2: 0-1 d,#2c2c0f, 2-2 #bada9d,#2c2c0f,b 3-3 #bada9d,#2c2c0f, 4-10 #becfc4,#2c2c0f, 11-17 #79836f,#2c2c0f, 18-115 #becfc4,#2c2c0f, 116-159 #79836f,#2c2c0f, |3: 0-0 d,#608269, 1-4 d,#0d1410, 5-5 #59675c,#0d1410, 6-6 #add38a,#0d1410, 7-10 #e5eee5,#24382c, 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,#24382c, 11-11 #3c614a,#f5f7ee, 12-12 #3c614a,#0d1410, 13-20 #e5eee5,#0d1410, 21-21 #f8c082,#0d1410, 22-159 #e5eee5,#0d1410, |5: 0-0 d,#608269, 1-4 d,#0d1410, 5-159 #59675c,#0d1410, @@ -63,14 +63,14 @@ |2: 0-0 d,#608269, 1-1 d,#0d1410, 2-4 d,#0d1410,b 5-6 #616f64,#0d1410,b 7-11 #f5f7ee,#3c614a, 12-12 #f5f7ee,#0d1410, 13-18 #e5eee5,#0d1410, 19-19 #f8c082,#0d1410, 20-159 #e5eee5,#0d1410, |3: 0-0 d,#608269, 1-4 d,#0d1410, 5-6 #59675c,#0d1410, 7-10 #e5eee5,#24382c, 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-6 #59675c,#0d1410, 7-10 #e5eee5,#24382c, 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=21,1 -|1: ^ Edit x/const/ › s t = Exec Edit x/t/ 3 selections in 3 lines ⏎ select · M-⏎ as a list · C-r history · esc -|2: 1┃const one = 1; +== snap narrowed grid=160x25 cursor=5,2 +|1: ^ Edit x/const/ › /tmp/pardes-snap/selregex/cwd/m.zig Keep Del +|2: s t = Exec Edit x/t/ 3 selections in 3 lines ⏎ select · M-⏎ as a list · C-r history · esc |3: 2┃const two = 2; |4: 3┃const three = 3; == style narrowed grid=160x25 -|1: 0-1 #000000,#add38a, 2-17 #becfc4,#2c2c0f, 18-18 #bada9d,#2c2c0f,b 19-19 #bada9d,#2c2c0f, 20-22 #becfc4,#2c2c0f, 23-29 #79836f,#2c2c0f, 30-115 #becfc4,#2c2c0f, 116-159 #79836f,#2c2c0f, -|2: 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, +|1: 0-1 #000000,#add38a, 2-47 #becfc4,#2c2c0f, 48-53 #ecc8f2,#2c2c0f, 54-159 #becfc4,#2c2c0f, +|2: 0-1 d,#2c2c0f, 2-2 #bada9d,#2c2c0f,b 3-3 #bada9d,#2c2c0f, 4-6 #becfc4,#2c2c0f, 7-13 #79836f,#2c2c0f, 14-115 #becfc4,#2c2c0f, 116-159 #79836f,#2c2c0f, |3: 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, |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-20 #e5eee5,#0d1410, 21-21 #f8c082,#0d1410, 22-159 #e5eee5,#0d1410, == snap esc-restores grid=160x25 cursor=11,2 diff --git a/test/snapshots/ttyhelp.golden b/test/snapshots/ttyhelp.golden index ce70e204..4b6e10d0 100644 --- a/test/snapshots/ttyhelp.golden +++ b/test/snapshots/ttyhelp.golden @@ -42,9 +42,10 @@ |28: 5 In the tag of the pane its Enter lands in from this one: this pane if it reads, else its rea↩ |29: der. `SPC '`; again after its Esc, nothing typed between, the one before it; Ctrl-o and Ctrl |30: ✓ @p1 Help 1 message · SPC h m -== snap leaderworks grid=100x31 cursor=12,20 -|20: ^ Help tutor 1/1 -|21: ▶ SPC h t Tutor help │ t Tutor -|22: │ Open the tutor, a document to work through. -|23: │ keys SPC h t -|24: │ +== snap leaderworks grid=100x31 cursor=12,21 +|20: ^ /tmp/pardes-snap/ttyhelp/cwd/+Help Del +|21: Help tutor 1/1 +|22: ▶ SPC h t Tutor help │ t Tutor +|23: │ Open the tutor, a document to work through. +|24: │ keys SPC h t +|25: │ -- cgit v1.3