summaryrefslogtreecommitdiff
path: root/test/snapshots/find.snap
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-07-28 12:28:52 -0300
committerGabriel Schneider <[email protected]>2026-08-01 15:02:07 -0300
commit95202b9b22751c86f100aae9ff1c64e535dcbd70 (patch)
treed53dec8f91d67782c3972d59e36ed33be4fbb2d0 /test/snapshots/find.snap
parent2b76b47c8a087b81be139b552d9a41bb2006dcd3 (diff)
downloadpardes-95202b9b22751c86f100aae9ff1c64e535dcbd70.tar.gz
pardes-95202b9b22751c86f100aae9ff1c64e535dcbd70.zip
smal qol ux changes
Diffstat (limited to 'test/snapshots/find.snap')
-rw-r--r--test/snapshots/find.snap14
1 files changed, 13 insertions, 1 deletions
diff --git a/test/snapshots/find.snap b/test/snapshots/find.snap
index 03fefaa7..bad36bb6 100644
--- a/test/snapshots/find.snap
+++ b/test/snapshots/find.snap
@@ -66,7 +66,9 @@ key esc
settle 700
stable 400 5000
snap cancel
-# a no-match walk empties the buffer; n then has nowhere to go
+# a no-match walk empties the buffer; n then has nowhere to go. The list is
+# also exactly as tall as its results — one blank row plus its tag — because a
+# reused +Search refits to the new count.
key space
key f
key f
@@ -76,3 +78,13 @@ stable 700 10000
key n
stable 400 5000
snap nomatch
+# ... and it grows BACK when the next search finds more: the refit trades rows
+# with the neighbour in both directions, so three hits are three rows again
+key space
+key f
+key f
+text zqm
+key enter
+wait 10000 zqmark-alpha.txt
+stable 700 15000
+snap refit