summaryrefslogtreecommitdiff
path: root/test/snapshots/reflow.snap
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-07-28 12:28:27 -0300
committerGabriel Schneider <[email protected]>2026-08-01 15:02:07 -0300
commit2b76b47c8a087b81be139b552d9a41bb2006dcd3 (patch)
treeafadf20ee86877f1125cec171a78fec9c42fac35 /test/snapshots/reflow.snap
parent4b53a39743dc5962e985fcf059a1222538d57b3f (diff)
downloadpardes-2b76b47c8a087b81be139b552d9a41bb2006dcd3.tar.gz
pardes-2b76b47c8a087b81be139b552d9a41bb2006dcd3.zip
fixing some crashes
Diffstat (limited to 'test/snapshots/reflow.snap')
-rw-r--r--test/snapshots/reflow.snap20
1 files changed, 20 insertions, 0 deletions
diff --git a/test/snapshots/reflow.snap b/test/snapshots/reflow.snap
new file mode 100644
index 00000000..0fa4a30d
--- /dev/null
+++ b/test/snapshots/reflow.snap
@@ -0,0 +1,20 @@
+# Widening a window whose scrollback holds WRAPPED lines, with the viewport
+# scrolled into history: ghostty's resizeCols unwraps, then grows rows while
+# the history viewport pin is still short, and its Debug-only PageList
+# integrity check panicked the whole app ("ViewportPinInsufficientRows").
+# build.zig now pins the ghostty dependency at ReleaseSafe so those
+# development-only checks are off — the app's own safety checks are unchanged.
+start 24 40
+wait 8000 $
+text printf 'y%.0s' $(seq 1 3000); echo do''ne
+key enter
+settle 2500
+stable 700 15000
+wheel up 10 10
+wheel up 10 10
+wheel up 10 10
+wheel up 10 10
+stable 500 8000
+resize 24 200
+stable 700 15000
+snap widened