summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/behaviour/keys.zig8
-rw-r--r--test/process/tty_boot.zig8
-rw-r--r--test/process/tty_editing.zig2
-rw-r--r--test/snapshots/find.golden52
-rw-r--r--test/snapshots/fsearch.golden39
-rw-r--r--test/snapshots/leader.golden19
-rw-r--r--test/snapshots/lsp.golden53
-rw-r--r--test/snapshots/msg.golden9
-rw-r--r--test/snapshots/pipe.golden6
-rw-r--r--test/snapshots/selregex.golden24
-rw-r--r--test/snapshots/ttyhelp.golden13
11 files changed, 116 insertions, 117 deletions
diff --git a/test/behaviour/keys.zig b/test/behaviour/keys.zig
index 241468ac..6af3d1ad 100644
--- a/test/behaviour/keys.zig
+++ b/test/behaviour/keys.zig
@@ -24,13 +24,11 @@ test "keys: a prompt's entry and cancellation leave the tag, the body and its cu
}) |case| {
try s.write(dot, "6 6");
try s.keys(case.keys);
- // The answer is typed into the tag's head (walk UI), shown in place
- // of the tag's own text, which it never touches; out of rest the
- // path is hidden too (UX D1): the head starts the tag.
+ // The answer is typed into the head, on the row under the tag,
+ // which stays as at rest, its own text untouched (UX DESIGN M1, M2).
try s.keys("zq");
_ = try s.where(case.shown);
- const head = try s.read(tag);
- try std.testing.expect(std.mem.startsWith(u8, head, case.shown[1..]));
+ try std.testing.expectEqualStrings("/test.txt Del keep", try s.read(tag));
try s.keys("\x1b");
try std.testing.expectError(error.NotOnScreen, s.where(case.shown));
try std.testing.expect(std.mem.endsWith(u8, try s.read(s.at("/pane/{d}/ctl", .{n})), " mode:normal "));
diff --git a/test/process/tty_boot.zig b/test/process/tty_boot.zig
index 2a4fea00..e3c09fb6 100644
--- a/test/process/tty_boot.zig
+++ b/test/process/tty_boot.zig
@@ -539,7 +539,7 @@ fn leader(gpa: std.mem.Allocator, exe: [:0]const u8) !void {
// SPC's level, rolled in the tag once its delay is up (a frame on the
// clock, which a quiet screen does not wait for)
try t.key("space");
- try t.wait(5000, "↓ unroll");
+ try t.wait(5000, "? help");
try t.stable(400, 5000);
try t.snap("spc");
try t.key("h");
@@ -550,7 +550,7 @@ fn leader(gpa: std.mem.Allocator, exe: [:0]const u8) !void {
try t.stable(400, 5000);
try t.snap("abandoned");
try t.key("space x");
- try t.wait(5000, "↓ unroll");
+ try t.wait(5000, "? help");
try t.stable(400, 5000);
try t.snap("unmapped");
// A key the level has no child for is struck and the level stays
@@ -854,7 +854,9 @@ fn msg(gpa: std.mem.Allocator, exe: [:0]const u8) !void {
// ...and a message arriving UNDER an armed prompt does not disturb it: a second
// external write reloads the pane and posts one, the row stays the prompt's.
try t.run("printf 'AGAIN\\n' > a.txt");
- try t.wait(10000, "AGAIN");
+ // (The pane's one line is under the prompt's head, on the row under the
+ // tag (UX DESIGN M2): the notice row's count says the second reload.)
+ try t.wait(10000, "×2");
try t.stable(700, 15000);
try t.snap("prompt-wins");
// Esc abandons the input, and the very key that abandoned it is also the key
diff --git a/test/process/tty_editing.zig b/test/process/tty_editing.zig
index 862897e7..093832ce 100644
--- a/test/process/tty_editing.zig
+++ b/test/process/tty_editing.zig
@@ -616,7 +616,7 @@ fn find(gpa: std.mem.Allocator, exe: [:0]const u8) !void {
// screen does not wait for)
try t.key("space");
try t.key("f");
- try t.wait(5000, "↓ unroll");
+ try t.wait(5000, "? help");
try t.stable(400, 5000);
try t.snap("group");
// the second f opens the query pane: every file listed, line 1 `Find `
diff --git a/test/snapshots/find.golden b/test/snapshots/find.golden
index 50b57e11..aad12aca 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
-| ␣ f ▸ c Config f Find g Grep h History l Lists n New r Recent s Save ↓ unroll · ? help
-| 1 Find zqm
+| /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 ? help
|
|
|
@@ -40,9 +40,9 @@
|
|
| /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
+== snap armed grid=120x41 cursor=11,2
+|1: ^ /tmp/pardes-snap/find/cwd/here.txt Keep Del
+|2: ␣ f Find 1/5 M-l acts
|3: │ │ ▶ here.txt
|4: │ │ other.txt
|5: │ │ sub/ZQMARK-beta.txt
@@ -50,16 +50,16 @@
|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
+== snap typing grid=120x41 cursor=14,2
+|2: ␣ f Find zqm 1/3 M-l acts
|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
+== snap next grid=120x41 cursor=14,2
+|2: ␣ f Find zqm 2/3 M-l acts
|3: │ │ zqmark-alpha.txt
|4: │ │ ▶ sub/ZQMARK-beta.txt
|8: 1▸beta body
@@ -73,14 +73,14 @@
|7:
|8:
|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 M-l acts
+|3: │ │ nothing matches
+|4: │ │
+|5: │ │
+|6: │ │
+|7: │ │
|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
@@ -91,12 +91,12 @@
|6:
|7:
|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 M-l acts
+|3: │ │ nothing matches
+|4: │ │
+|5: │ │
+|6: │ │
+|7: │ │
|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 dd6dc3e1..1895206e 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 / C-r history
+== snap typing grid=180x31 cursor=98,17
+|17: ls / MARK = Look /MARK/ 1/3 · 3 lines C-r history
|18: g.txt 2▸MARK a
== style typing grid=180x31
|0: 0-151 d,#0d1410, 152-179 #788079,#0d1410,
@@ -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-30 #b2c3b8,#1d2824, 31-34 #819188,#1d2824, 35-89 #d3b0d9,#1d2824, 90-91 #06779d,#add38a, 92-98 #cadbd0,#394440, 99-99 #add38a,#394440,b 100-100 #add38a,#394440, 101-106 #cadbd0,#394440, 107-113 #8e9d94,#394440, 114-126 #cadbd0,#394440, 127-179 #8e9d94,#394440,
-|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-30 #b2c3b8,#1d2824, 31-34 #819188,#1d2824, 35-89 #d3b0d9,#1d2824, 90-91 #06779d,#add38a, 92-127 #cadbd0,#394440, 128-133 #ecc8f2,#394440, 134-138 #cadbd0,#394440, 139-179 #a1b1a8,#394440,
+|17: 0-0 d,#608269, 1-1 d,#0d1410, 2-89 #e5eee5,#0d1410, 90-91 #e5eee5,#394440, 92-92 #add38a,#394440,b 93-93 #add38a,#394440, 94-99 #cadbd0,#394440, 100-106 #8e9d94,#394440, 107-157 #cadbd0,#394440, 158-179 #8e9d94,#394440,
|18: 0-0 d,#608269, 1-1 d,#0d1410, 2-89 #e5eee5,#0d1410, 90-90 #e5eee5,#917a53, 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,13 +68,11 @@
|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: │ │
+== snap list grid=180x31 cursor=103,17
+|17: ls ␣ l /MARK/ 1/3 M-l acts
+|18: g.txt │ │ ▶ /tmp/pardes-snap/fsearch/cwd/g.txt:2:1: MARK a
+|19: │ │ /tmp/pardes-snap/fsearch/cwd/g.txt:6:1: MARK b
+|20: │ │ /tmp/pardes-snap/fsearch/cwd/g.txt:10:1: MARK c
|21: 1 l1
|22: 2▸MARK a
|23: 3 l3
@@ -84,10 +83,10 @@
|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 ctrln grid=180x31 cursor=103,17
+|17: ls ␣ l /MARK/ 2/3 M-l acts
+|18: g.txt │ │ /tmp/pardes-snap/fsearch/cwd/g.txt:2:1: MARK a
+|19: │ │ ▶ /tmp/pardes-snap/fsearch/cwd/g.txt:6:1: MARK b
|21: 3 l3
|22: 4 l4
|23: 5 l5
@@ -98,7 +97,6 @@
|28: 10 MARK c
|29: 11 l11
== snap landed grid=180x31 cursor=97,21
-|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
@@ -131,5 +129,6 @@
== 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 C-r history
diff --git a/test/snapshots/leader.golden b/test/snapshots/leader.golden
index 02cacea2..f149bbd4 100644
--- a/test/snapshots/leader.golden
+++ b/test/snapshots/leader.golden
@@ -1,9 +1,9 @@
== 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
-|
+| │ w Window y ClipYank Y ClipYankMain ? help
|
|
|
@@ -40,18 +40,17 @@
|
|
| /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 ? 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 ? 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..9d733def 100644
--- a/test/snapshots/lsp.golden
+++ b/test/snapshots/lsp.golden
@@ -57,31 +57,30 @@
|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 M-l acts
+|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: 1 const std = @import("std");
+|7: 2
+|8: 3▸fn helper(x: u32) u32 {
+|9: fn helper(x: u32) u32
+|10: (fn (u32) u32)
+|11: 4 return x + 1;
+|12: 5 }
+|13: 6
+|14: 7 pub fn main() void {
+|15: 8 _ = helper(41);
+|16: 9 }
+|17: ~
|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 M-l acts
+|3: │ │ nothing matches
+|4: │ │
+|5: │ │
+|8: 3 fn helper(x: u32) u32 {
+== snap nothing grid=120x41 cursor=19,2
+|2: ␣ l Symbols jngd 0 M-l acts
diff --git a/test/snapshots/msg.golden b/test/snapshots/msg.golden
index 09249970..dc52fd87 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 C-r history
+== 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..906b5b07 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 C-r history
| ALPHA BETA
| 2 gamma delta
|
diff --git a/test/snapshots/selregex.golden b/test/snapshots/selregex.golden
index 3c886e61..3d692496 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 C-r history
| 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 C-r history
|24: /tmp/pardes-snap/selregex/cwd/m.zig:1
== style preview grid=160x25
|0: 0-1 d,#0d1410, 2-159 #788079,#0d1410,
-|1: 0-1 #06779d,#add38a, 2-2 #add38a,#394440,b 3-3 #add38a,#394440, 4-10 #cadbd0,#394440, 11-17 #8e9d94,#394440, 18-115 #cadbd0,#394440, 116-159 #8e9d94,#394440,
-|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 #06779d,#add38a, 2-31 #cadbd0,#394440, 32-37 #ecc8f2,#394440, 38-42 #cadbd0,#394440, 43-159 #a1b1a8,#394440,
+|2: 0-1 d,#394440, 2-2 #add38a,#394440,b 3-3 #add38a,#394440, 4-10 #cadbd0,#394440, 11-17 #8e9d94,#394440, 18-148 #cadbd0,#394440, 149-159 #8e9d94,#394440,
|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 C-r history
|3: 2┃const two = 2;
|4: 3┃const three = 3;
== style narrowed grid=160x25
-|1: 0-1 #06779d,#add38a, 2-17 #cadbd0,#394440, 18-18 #add38a,#394440,b 19-19 #add38a,#394440, 20-22 #cadbd0,#394440, 23-29 #8e9d94,#394440, 30-115 #cadbd0,#394440, 116-159 #8e9d94,#394440,
-|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 #06779d,#add38a, 2-47 #cadbd0,#394440, 48-53 #ecc8f2,#394440, 54-58 #cadbd0,#394440, 59-159 #a1b1a8,#394440,
+|2: 0-1 d,#394440, 2-2 #add38a,#394440,b 3-3 #add38a,#394440, 4-6 #cadbd0,#394440, 7-13 #8e9d94,#394440, 14-148 #cadbd0,#394440, 149-159 #8e9d94,#394440,
|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: │