summaryrefslogtreecommitdiff
path: root/test/snapshots/psearch.snap
diff options
context:
space:
mode:
Diffstat (limited to 'test/snapshots/psearch.snap')
-rw-r--r--test/snapshots/psearch.snap15
1 files changed, 6 insertions, 9 deletions
diff --git a/test/snapshots/psearch.snap b/test/snapshots/psearch.snap
index 1b9eac61..beceb806 100644
--- a/test/snapshots/psearch.snap
+++ b/test/snapshots/psearch.snap
@@ -31,19 +31,16 @@ stable 400 5000
text MARK
stable 400 5000
snap typing
-# Enter opens the results buffer: three @p0:LINE:COL rows, focus stays here
+# Enter opens the results buffer — three @p0:LINE:COL rows — and goes to the
+# first of them: the terminal's cursor lands on that scrollback line, on the
+# matched SPAN (cols 3..6, past the leading "x ") — not the start of the line,
+# and selected rather than merely parked on. No `n` was pressed to get here.
key enter
wait 10000 @p0:2:3
stable 700 15000
snap results
-# n selects result 1 and Enter looks it: the terminal's cursor lands on that
-# scrollback line, on the matched SPAN (cols 3..6, past the leading "x ") —
-# not the start of the line, and selected rather than merely parked on
-key n
-key enter
-stable 700 15000
-snap first
-snapstyle first
+snapstyle results
+# n walks on to the next row, Enter looks it
key n
key enter
stable 700 15000