summaryrefslogtreecommitdiff
path: root/test/snapshots/views-pan.snap
blob: 3ba1ac5b32228d54ec76f00864f5cdbcf949ad34 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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