diff options
| author | Gabriel Schneider <[email protected]> | 2026-07-28 12:28:27 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-08-01 15:02:07 -0300 |
| commit | 2b76b47c8a087b81be139b552d9a41bb2006dcd3 (patch) | |
| tree | afadf20ee86877f1125cec171a78fec9c42fac35 /test/snapshots/tinywin.snap | |
| parent | 4b53a39743dc5962e985fcf059a1222538d57b3f (diff) | |
| download | pardes-2b76b47c8a087b81be139b552d9a41bb2006dcd3.tar.gz pardes-2b76b47c8a087b81be139b552d9a41bb2006dcd3.zip | |
fixing some crashes
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 |
