summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/perf.zig2
-rw-r--r--test/snapshots/find.golden3
-rw-r--r--test/snapshots/leader.golden8
-rw-r--r--test/snapshots/ttyhelp.golden11
4 files changed, 4 insertions, 20 deletions
diff --git a/test/perf.zig b/test/perf.zig
index d8025fdc..00a5524a 100644
--- a/test/perf.zig
+++ b/test/perf.zig
@@ -826,7 +826,7 @@ fn measureTag(op: Op, path: []const u8, reps: usize) !Cell {
const dt = nowNs() -| t0;
const held = switch (op) {
.spc => s.kind == .rest and s.root == null,
- .spc_down => s.unrolled and core.panes[id].?.band_rows > 0,
+ .spc_down => s.unrolled and pardes.Band.covered(core, core.panes[id].?, id).band > 0,
.help_type => s.kind == .help and s.field.len == 0 and s.nhits > 0,
.describe => s.kind == .describe and s.found,
.rest_keys => s.kind == .rest and s.root == null and core.panes[id].?.body.cur_row == 0,
diff --git a/test/snapshots/find.golden b/test/snapshots/find.golden
index 1dd5f952..e9a50dec 100644
--- a/test/snapshots/find.golden
+++ b/test/snapshots/find.golden
@@ -80,7 +80,6 @@
|5: │ │
|6: │ │
|7: │ │
-|8: 1 beta body
|40: ⏎ lands here · its text is the preview · S-⏎ a new pane 1 message · SPC h m
== snap cancel grid=120x41 cursor=7,3
|2: here.txt:1 › Find zqm 2/3 › /tmp/pardes-snap/find/cwd/sub/ZQMARK-beta.txt Keep Save Term Collapse Follow Del
@@ -89,7 +88,6 @@
|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,2
|2: ^ Find zqm 2/3 › ␣ f Find bod 0
@@ -98,5 +96,4 @@
|5: │ │
|6: │ │
|7: │ │
-|8: 1 beta body
|40: ⏎ lands here · its text is the preview · S-⏎ a new pane 1 message · SPC h m
diff --git a/test/snapshots/leader.golden b/test/snapshots/leader.golden
index 4d019e1d..5630219a 100644
--- a/test/snapshots/leader.golden
+++ b/test/snapshots/leader.golden
@@ -1,10 +1,10 @@
-== snap spc grid=100x41 cursor=7,5
+== snap spc grid=100x41 cursor=hidden
| Newcol Joincol Find Grep Help Changelog Tutor Dump Themes Config History Debug Exit
| New Term Find Grep Joincol Delcol
| ␣ ▸ 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
-| 1 Help Help h Help t Help c Help l
+|
|
|
|
@@ -44,14 +44,12 @@
|2: ␣ h ▸ b Build c Changelog k Keys m Messages t Tutor ↓ unroll · ? help
|3: 1 Help Help h Help t Help c Help l
|4:
-|5:
== snap abandoned grid=100x41 cursor=7,3
|2: /tmp/pardes-snap/leader/cwd/cmds.txt Keep Save Term Collapse Follow Del
-== snap unmapped grid=100x41 cursor=7,5
+== snap unmapped grid=100x41 cursor=hidden
|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
-|5: 1 Help Help h Help t Help c Help l
== snap help-group grid=100x41 cursor=7,6
|2: /tmp/pardes-snap/leader/cwd/cmds.txt Keep Save Term Collapse Follow Del
|3: 1 Help Help h Help t Help c Help l
diff --git a/test/snapshots/ttyhelp.golden b/test/snapshots/ttyhelp.golden
index 7217e5ba..3fae0dfc 100644
--- a/test/snapshots/ttyhelp.golden
+++ b/test/snapshots/ttyhelp.golden
@@ -54,14 +54,3 @@
|7: │ Open the tutor, a document to work through.
|8: │ keys SPC h t
|9: │
-|10: 1 pardes builtins: each one's keys and its name, then what it does. Run one by its keys, or by↩
-|11: its name anywhere: B2 on the word, Exec <name>, a line of a ctl file, or `pardes do <name>`↩
-|12: from a shell. `Help <name>` shows one builtin alone; `Help <keys>` (or SPC, those keys, the↩
-|13: n ?) the builtins under SPC and those keys.
-|14: 2
-|15: 3 SPC ' Resume
-|16: 4 Reopen the last picker as it was: its rows, marks, cursor and query.
-|17: 5 In the tag of the pane its Enter lands in from this one: this pane if it reads, else its rea↩
-|18: der. `SPC '`.
-|19: 6
-|20: 7 SPC ? Help topbar