summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/process/tty_boot.zig6
-rw-r--r--test/snapshots/builtins.golden70
-rw-r--r--test/snapshots/leader.golden14
3 files changed, 46 insertions, 44 deletions
diff --git a/test/process/tty_boot.zig b/test/process/tty_boot.zig
index e342ea46..1e52a468 100644
--- a/test/process/tty_boot.zig
+++ b/test/process/tty_boot.zig
@@ -155,9 +155,9 @@ fn builtins(gpa: std.mem.Allocator, exe: [:0]const u8) !void {
try t.stable(700, 15000);
try t.snap("docs-group");
// Tutor's row, under the documentation of the four before it (Keys,
- // describe-key, is SPC h k)
- try t.press("middle", "@Tutor", 30);
- try t.release("middle", "@Tutor", 30);
+ // describe-key, is SPC h k; Messages' runs to three rows)
+ try t.press("middle", "@Tutor", 32);
+ try t.release("middle", "@Tutor", 32);
try t.wait(10000, "PARDES TUTOR");
try t.stable(700, 15000);
try t.snap("tutor-from-index");
diff --git a/test/snapshots/builtins.golden b/test/snapshots/builtins.golden
index 81a445e1..89c678f1 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:236:1 Look enter, right-click
+|58: @p2:237:1 Look enter, right-click
|66: ✓ /tmp/pardes-snap/builtins/cwd/notes.txt Help 3 messages · SPC h m
== snap docs-group grid=120x67 cursor=7,10
|10: 1 pardes builtins under SPC h
@@ -109,39 +109,39 @@
|24: m, z, Z, [, ], window mode's C-w. A sequence nothing is bound to is shown struck, `runs nothing`. Esc leaves it.
|25: 13
|26: 14 SPC h m Messages
-|27: 15 Show the messages said so far in a +Messages, the newest first, an error's places under it.
-|28: 16
-|29: 17 SPC h t Tutor topbar
-|30: 18 Open the tutor, a document to work through.
-|31: 19
-|32: ~
+|27: 15 Show the messages said so far, the newest first, an error's places under it.
+|28: 16 Where jumps walk, a list in the pane's tag: Enter Looks a row (a message's cause, a place), C-q keeps it as a +M↩
+|29: essages; else the +Messages.
+|30: 17
+|31: 18 SPC h t Tutor topbar
+|32: 19 Open the tutor, a document to work through.
+|33: 20
+|34: ~
|66: ✓ /tmp/pardes-snap/builtins/cwd/notes.txt Help 5 messages · SPC h m
-== snap tutor-from-index grid=120x67 cursor=7,43
-|32: +Search 1/1 Save Undock Del
-|33: /^ +Look
-|34: @p2:236:1 Look enter, right-click
-|42: /tmp/pardes-snap/builtins/cwd/+Tutor Save Term Collapse Follow Del
-|43: 1
-|44: 2 PARDES TUTOR
-|45: 3
-|46: 4 This pane is +Tutor, a copy: edit it freely; there is no need to
-|47: 5 Save it (a bare Save asks for a path to write a copy to).
-|48: 6 `Del` in its tag closes it; once you have edited it, `Del` refuses
-|49: 7 once and the second `Del` discards. `Tutor` or SPC h t opens a
-|50: 8 fresh copy.
-|51: 9
-|52: 10 The guide (docs/typ/guide.typ) explains; this is the hands-on part.
-|53: 11 Each lesson is a few things to do, then names its guide section.
-|54: 12 Words in backticks, like `Save`, are builtins.
-|55: 13 `Exec` (B2) runs the builtin a word names, or else runs it as a
-|56: 14 shell line; `Look` (B3) opens what the text names, or else finds
-|57: 15 it. Type a builtin in any tag and `Exec` it. Lines starting with
-|58: 16 "| " are tags.
-|59: 17
-|60: 18 Press j until you reach part 1.
-|61: 19
-|62: 20
-|63: 21 =================================================================
-|64: 22 = PART 1 — MODES =
-|65: 23 =================================================================
+== snap tutor-from-index grid=120x67 cursor=7,45
+|34: +Search 1/1 Save Undock Del
+|35: /^ +Look
+|36: @p2:237:1 Look enter, right-click
+|44: /tmp/pardes-snap/builtins/cwd/+Tutor Save Term Collapse Follow Del
+|45: 1
+|46: 2 PARDES TUTOR
+|47: 3
+|48: 4 This pane is +Tutor, a copy: edit it freely; there is no need to
+|49: 5 Save it (a bare Save asks for a path to write a copy to).
+|50: 6 `Del` in its tag closes it; once you have edited it, `Del` refuses
+|51: 7 once and the second `Del` discards. `Tutor` or SPC h t opens a
+|52: 8 fresh copy.
+|53: 9
+|54: 10 The guide (docs/typ/guide.typ) explains; this is the hands-on part.
+|55: 11 Each lesson is a few things to do, then names its guide section.
+|56: 12 Words in backticks, like `Save`, are builtins.
+|57: 13 `Exec` (B2) runs the builtin a word names, or else runs it as a
+|58: 14 shell line; `Look` (B3) opens what the text names, or else finds
+|59: 15 it. Type a builtin in any tag and `Exec` it. Lines starting with
+|60: 16 "| " are tags.
+|61: 17
+|62: 18 Press j until you reach part 1.
+|63: 19
+|64: 20
+|65: 21 =================================================================
|66: ✓ /tmp/pardes-snap/builtins/cwd/+Help Tutor 7 messages · SPC h m
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