summaryrefslogtreecommitdiff
path: root/test/snapshots/views-pan.snap
diff options
context:
space:
mode:
Diffstat (limited to 'test/snapshots/views-pan.snap')
-rw-r--r--test/snapshots/views-pan.snap27
1 files changed, 27 insertions, 0 deletions
diff --git a/test/snapshots/views-pan.snap b/test/snapshots/views-pan.snap
new file mode 100644
index 00000000..3ba1ac5b
--- /dev/null
+++ b/test/snapshots/views-pan.snap
@@ -0,0 +1,27 @@
+# A terminal shown in a view shorter than it (src/views.zig): sized for the
+# tall view that typed into it, the short one passes over its top rows so
+# its cursor and prompt stay in sight, an arrow in the gutter saying rows
+# are above.
+config Verbose off
+start 24 80 views=2
+wait 8000 $
+stable 700 20000
+view 2
+resize 12 60
+stable 500 10000
+view 1
+text seq 1 30
+key enter
+wait 8000 30
+stable 500 10000
+snap tall
+view 2
+stable 500 10000
+snap short-pans
+text echo typed-in-short
+key enter
+stable 500 10000
+snap short-typed
+view 1
+stable 500 10000
+snap tall-sees