From 2826704c7f829b5b5375ed2bf7414b455d3b0735 Mon Sep 17 00:00:00 2001 From: Gabriel Schneider Date: Wed, 8 Jul 2026 05:18:55 -0300 Subject: new panes reject a too-short split parent: if the chosen parent would leave the new pane under 2 body rows, splitParent swaps in a qualifying pane (same column first), else the tallest pane anywhere; applied to Alt-n, look-dir, placeDoc and ttyForDir. New splitparent.snap. --- test/snapshots/splitparent.golden | 99 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 99 insertions(+) create mode 100644 test/snapshots/splitparent.golden (limited to 'test/snapshots/splitparent.golden') diff --git a/test/snapshots/splitparent.golden b/test/snapshots/splitparent.golden new file mode 100644 index 00000000..b838cdad --- /dev/null +++ b/test/snapshots/splitparent.golden @@ -0,0 +1,99 @@ +== snap shrunk grid=100x30 cursor=4,3 +|Kill Newcol Tutor Debug Colors NextColor Dump +| NOR /tmp/pardes-snap/splitparent/cwd Del NOR /tmp/pardes-snap/splitparent/cwd Del +| NOR /tmp/pardes-snap/splitparent/cwd Del +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +== snap swap-parent grid=100x30 cursor=4,7 +|Kill Newcol Tutor Debug Colors NextColor Dump +| NOR /tmp/pardes-snap/splitparent/cwd Del NOR /tmp/pardes-snap/splitparent/cwd Del +| NOR /tmp/pardes-snap/splitparent/cwd Del +| +| +| NOR /tmp/pardes-snap/splitparent/cwd Del +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +== snap tallest grid=100x5 cursor=54,4 +|Kill Newcol Tutor Debug Colors NextColor Dump +| NOR /tmp/pardes-snap/splitparent/cwd Del NOR /tmp/pardes-snap/splitparent/cwd Del +| NOR /tmp/pardes-snap/splitparent/cwd Del +| NOR /tmp/pardes-snap/splitparent/cwd Del NOR /tmp/pardes-snap/splitparent/cwd Del +| +== snap regrown grid=100x30 cursor=54,18 +|Kill Newcol Tutor Debug Colors NextColor Dump +| NOR /tmp/pardes-snap/splitparent/cwd Del NOR /tmp/pardes-snap/splitparent/cwd Del +| NOR /tmp/pardes-snap/splitparent/cwd Del +| +| +| NOR /tmp/pardes-snap/splitparent/cwd Del +| +| +| +| +| +| +| +| +| +| +| NOR /tmp/pardes-snap/splitparent/cwd Del +| +| +| +| +| +| +| +| +| +| +| +| +| -- cgit v1.3