From 2b76b47c8a087b81be139b552d9a41bb2006dcd3 Mon Sep 17 00:00:00 2001 From: Gabriel Schneider Date: Tue, 28 Jul 2026 12:28:27 -0300 Subject: fixing some crashes --- test/snapshots/reflow.snap | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 test/snapshots/reflow.snap (limited to 'test/snapshots/reflow.snap') 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 -- cgit v1.3