blob: 3d22d58330bb99d84ab8b1f611a948d6c4b8bd81 (
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
28
29
30
31
|
# Shrinking the window past "one row per pane" used to panic: computeGeom gave
# every pane in a column at least one row, so `y` walked off the bottom and
# renderPane got a rect outside the surface (assert). Panes that no longer fit
# now get h = 0 and simply do not render until the window grows back.
start 31 100
wait 8000 $
key a-n
stable 400 8000
key a-n
stable 400 8000
key a-n
stable 400 8000
key a-n
stable 700 15000
snap stacked
resize 4 60
stable 700 10000
snap shrunk
# ...and the same sideways: more columns than the window is wide
resize 31 100
stable 700 10000
key space c n
stable 600 8000
key space c n
stable 600 8000
key space c n
stable 700 15000
snap columns
resize 31 4
stable 700 10000
snap narrow
|