summaryrefslogtreecommitdiff
path: root/test/snapshots/fileedit.golden
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-07-06 13:10:53 -0300
committerGabriel Schneider <[email protected]>2026-08-01 15:02:07 -0300
commit04cd5a2b41efd6f39c3ba15c32e60843e2c6485d (patch)
tree55e82e6907041314ebd32bb29ea6844a9cd48c45 /test/snapshots/fileedit.golden
parentde4def3548a6729b0dfd2120495a61beef8c8c2c (diff)
downloadpardes-04cd5a2b41efd6f39c3ba15c32e60843e2c6485d.tar.gz
pardes-04cd5a2b41efd6f39c3ba15c32e60843e2c6485d.zip
layout: every pane open/close resizes exactly ONE sibling — never the whole column. Buggy paths fixed: Alt-n inserted a weight-1 shell (whole column reflowed) — now splitBelow the active pane; stackDocLeft (file/image/tutor open with no doc yet) gave the doc a fair share (every pane shrank) — now it halves only the old top pane's slot; ttyForDir (execute from a file pane) appended a weight-1 shell to the rightmost column — now splitBelow its bottom pane; Alt-c moved a pane out without absorbVWeight (all old siblings grew) — now the sibling above absorbs first. Underneath: splitBelow/absorbVWeight/stackDocLeft snap the whole column's weights to on-screen row counts, because computeGeom's per-pane round(avail*w/vsum) let fractional weights jiggle bystanders by a row; evictLonePristineTty recomputes geometry first (a just-stacked doc has no rect). New snap tests layout-open + layout-close cover Alt-n, doc stacking, ttyForDir, Alt-c, tag Del, pty EOF, and column-width handoff. Six goldens regenerated (fileedit, images, look-file, syntax, tutor, windowops): they had frozen the fair-share/append reflow this change removes; every diff is only the doc/split pane sizing, with untouched panes' boundaries restored bit-identical (e.g. bottom pane tag back at its boot row 17 instead of pushed to 22).
Diffstat (limited to 'test/snapshots/fileedit.golden')
-rw-r--r--test/snapshots/fileedit.golden30
1 files changed, 15 insertions, 15 deletions
diff --git a/test/snapshots/fileedit.golden b/test/snapshots/fileedit.golden
index c6fb40aa..a1709691 100644
--- a/test/snapshots/fileedit.golden
+++ b/test/snapshots/fileedit.golden
@@ -7,9 +7,6 @@
| 4 line 4
| 5 line 5
| 6 line 6
-| 7 line 7
-| 8 line 8
-| 9 line 9
| nm /tmp/pardes-snap/fileedit/cwd Del
|
| f.txt
@@ -18,8 +15,6 @@
|
| f.txt
|
-|
-|
| nm /tmp/pardes-snap/fileedit/cwd Del
|
| f.txt
@@ -29,6 +24,11 @@
|
|
|
+|
+|
+|
+|
+|
== snap deleted grid=100x30 cursor=7,3
|Kill Newcol Tutor Debug Colors NextColor Dump
| nm /tmp/pardes-snap/fileedit/cwd/f.txt Save Del nm /tmp/pardes-snap/fileedit/cwd Del
@@ -38,9 +38,6 @@
| 4 line 5
| 5 line 6
| 6 line 7
-| 7 line 8
-| 8 line 9
-| 9 line 10
| nm /tmp/pardes-snap/fileedit/cwd Del
|
| f.txt
@@ -49,8 +46,6 @@
|
| f.txt
|
-|
-|
| nm /tmp/pardes-snap/fileedit/cwd Del
|
| f.txt
@@ -60,6 +55,11 @@
|
|
|
+|
+|
+|
+|
+|
== snap undone grid=100x30 cursor=7,3
|Kill Newcol Tutor Debug Colors NextColor Dump
| nm /tmp/pardes-snap/fileedit/cwd/f.txt Save Del nm /tmp/pardes-snap/fileedit/cwd Del
@@ -69,9 +69,6 @@
| 4 line 4
| 5 line 5
| 6 line 6
-| 7 line 7
-| 8 line 8
-| 9 line 9
| nm /tmp/pardes-snap/fileedit/cwd Del
|
| f.txt
@@ -80,8 +77,6 @@
|
| f.txt
|
-|
-|
| nm /tmp/pardes-snap/fileedit/cwd Del
|
| f.txt
@@ -91,6 +86,11 @@
|
|
|
+|
+|
+|
+|
+|
== file saved
liEDIT''MEne 1
line 2