blob: bbd1c368d75661709bc4ab061028ac019911e0a6 (
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 two views at two sizes (src/views.zig): it takes the
# size of the view that typed into it last; the other shows it at that size.
config Verbose off
start 24 80 views=2
wait 8000 $
stable 700 20000
view 2
resize 14 50
stable 500 10000
snap small
# Typed in the big view: sized for it, shown so in the small one.
view 1
text echo from-the-big-one
key enter
stable 500 10000
snap big
view 2
stable 500 10000
snap small-sees
# Typed in the small view: sized for it now, the big one shows it so.
text echo from-the-small-one
key enter
stable 500 10000
snap small-typed
view 1
stable 500 10000
snap big-sees
|