summaryrefslogtreecommitdiff
path: root/test/snapshots/layout-open.snap
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-09-11 12:38:56 -0300
committerGabriel Schneider <[email protected]>2026-09-15 17:24:42 -0300
commit682e237df7e8b22f820d14a4adee58e6e2f84268 (patch)
tree5d888cb46f1a49e89fc55e2a4c232d3af0265b1d /test/snapshots/layout-open.snap
parent6878e1c309172d624c0d7a3555f6f0217ae6770e (diff)
downloadpardes-682e237df7e8b22f820d14a4adee58e6e2f84268.tar.gz
pardes-682e237df7e8b22f820d14a4adee58e6e2f84268.zip
trunk: resume before the Reload experiment
Empty marker on the last pre-Reload change. Keep the Reload experiment on reload (3801914), its first change on reload-start (200a1fc), and the unfinished performance investigation on reload-perf-wip.
Diffstat (limited to 'test/snapshots/layout-open.snap')
-rw-r--r--test/snapshots/layout-open.snap36
1 files changed, 17 insertions, 19 deletions
diff --git a/test/snapshots/layout-open.snap b/test/snapshots/layout-open.snap
index 1198b685..d7d7e19e 100644
--- a/test/snapshots/layout-open.snap
+++ b/test/snapshots/layout-open.snap
@@ -1,17 +1,16 @@
# every pane open splits ONE existing pane, the rest of the column keeps its
# sizes: Alt-n splits the active pane, an execute-spawned shell for a file's
-# dir splits only the bottom pane of the rightmost column. The first looked-up
-# file is the exception: it takes a NEW leftmost column, splitting nothing —
-# and takes width only from the column that opened it; unrelated columns stay
-# at the exact same x/width
+# dir splits only the bottom pane of the rightmost column. At this narrow
+# width the first looked-up file also splits below its source, leaving every
+# unrelated pane (including the ones above the source) at its exact rectangle.
dirmk sub
file sub/f.txt echo 'TTY'OK
-start 30 100 -n 3
+start 31 100 -n 3
wait 8000 sub
stable 700 20000
# give pane 0 (top-left) some content so its content-height split is visible
-press left 5 8
-release left 5 8
+press left 5 9
+release left 5 9
stable 400 5000
key i
text echo one; echo two
@@ -25,33 +24,32 @@ key a-n
stable 700 15000
snap altn-left
# make the right column two panes (Alt-n in a fresh column, trivial split)
-press left 70 8
-release left 70 8
+press left 70 9
+release left 70 9
stable 400 5000
key a-n
stable 700 15000
snap altn-right
-# look sub/f.txt from the bottom-left shell: the first doc takes a new leftmost
-# column of its own — every pane keeps its rows, the source column alone pays
-# half its width, and the right column keeps its exact rectangle
-press left 5 27
-release left 5 27
+# look sub/f.txt from the bottom-left shell: the first doc splits this shell,
+# not the top-left pane. Both panes above it and the entire right column stay put.
+press left 5 28
+release left 5 28
stable 400 5000
key i
text sub/f.txt
key esc
settle 100
stable 400 5000
-press right 7 27
-release right 7 27
+press right 7 28
+release right 7 28
stable 700 15000
snap file-open
# execute the file's command (middle drag over line 1): no shell has cwd sub/,
# so one is forked at the bottom of the rightmost column, splitting only the
# pane above it
-press middle 8 3
-drag middle 19 3
-release middle 19 3
+press middle 8 23
+drag middle 19 23
+release middle 19 23
wait 10000 TTYOK
motion 40 25
stable 700 10000