From 95202b9b22751c86f100aae9ff1c64e535dcbd70 Mon Sep 17 00:00:00 2001 From: Gabriel Schneider Date: Tue, 28 Jul 2026 12:28:52 -0300 Subject: smal qol ux changes --- test/snapshots/find.snap | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) (limited to 'test/snapshots/find.snap') 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 -- cgit v1.3