diff options
Diffstat (limited to 'test/snapshots/fsearch.snap')
| -rw-r--r-- | test/snapshots/fsearch.snap | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/test/snapshots/fsearch.snap b/test/snapshots/fsearch.snap index 38c39c02..7953b408 100644 --- a/test/snapshots/fsearch.snap +++ b/test/snapshots/fsearch.snap @@ -1,8 +1,9 @@ # `/` file search: the pattern types into the tag (persistent, no popup); -# Enter runs grep -nH into a shell pane so the results are ordinary terminal -# text; n/N select the next/prev result row there (prompt rows skipped via the -# OSC 133 semantic marks) and look it — the file pane scrolls to path:NNN. -# Esc abandons the input; a no-match search leaves n with nowhere to go. +# Enter searches the buffer in-core and writes `path:NNN: text` into a +Search +# OUTPUT BUFFER (a file pane with no file behind it — no Save in its tag); +# n/N select the next/prev row there and look it, so the file pane scrolls to +# path:NNN. Esc abandons the input; a no-match search empties the buffer and +# leaves n with nowhere to go. file g.txt l1\nMARK a\nl3\nl4\nl5\nMARK b\nl7\nl8\nl9\nMARK c\nl11\nl12 start 30 180 -n 3 wait 8000 g.txt @@ -28,10 +29,10 @@ text MARK stable 400 5000 snap typing key enter -wait 10000 g.txt:2:MARK +wait 10000 g.txt:2:1 MARK stable 700 10000 snap results -# n selects result 1 in the results pane + scrolls the file to line 2 +# n selects result 1 in the results buffer + scrolls the file to line 2 key n stable 700 15000 snap first |
