blob: 950503017590727263db1b0ec796730cb3ae70e8 (
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 30 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 3 60
stable 700 10000
snap shrunk
# ...and the same sideways: more columns than the window is wide
resize 30 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 30 4
stable 700 10000
snap narrow
|