diff options
Diffstat (limited to 'test/snapshots/look-center.snap')
| -rw-r--r-- | test/snapshots/look-center.snap | 26 |
1 files changed, 17 insertions, 9 deletions
diff --git a/test/snapshots/look-center.snap b/test/snapshots/look-center.snap index 1b11bfd8..25fb64b0 100644 --- a/test/snapshots/look-center.snap +++ b/test/snapshots/look-center.snap @@ -3,26 +3,34 @@ # the same path re-center the existing pane, and a look near line 1 clamps # the scroll at 0 (no negative scroll) lines big.txt 200 -start 30 150 -n 3 +start 31 150 -n 3 wait 8000 big.txt stable 700 20000 -press left 5 8 -release left 5 8 +press left 5 9 +release left 5 9 stable 400 5000 key i text big.txt:100 big.txt:150 big.txt:2 key esc settle 100 stable 400 5000 -press right 7 8 -release right 7 8 +press right 7 9 +release right 7 9 stable 700 15000 snap center-open -press right 18 15 -release right 18 15 +# The narrow-window split keeps the source shell above the new file. Use the +# unchanged right-hand shell for the remaining references, so they stay visible. +press left 80 9 +release left 80 9 +key i +text big.txt:150 big.txt:2 +key esc +stable 400 5000 +press right 82 9 +release right 82 9 stable 700 15000 snap center-dedup -press right 30 15 -release right 30 15 +press right 94 9 +release right 94 9 stable 700 15000 snap center-clamp |
