diff options
Diffstat (limited to 'test/snapshots/tinywin.snap')
| -rw-r--r-- | test/snapshots/tinywin.snap | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/test/snapshots/tinywin.snap b/test/snapshots/tinywin.snap new file mode 100644 index 00000000..fab7f950 --- /dev/null +++ b/test/snapshots/tinywin.snap @@ -0,0 +1,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 +settle 400 +key a-n +settle 400 +key a-n +settle 400 +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 +settle 600 +key space c n +settle 600 +key space c n +stable 700 15000 +snap columns +resize 30 4 +stable 700 10000 +snap narrow |
