summaryrefslogtreecommitdiff
path: root/test/snapshots/tagalign2col.snap
diff options
context:
space:
mode:
Diffstat (limited to 'test/snapshots/tagalign2col.snap')
-rw-r--r--test/snapshots/tagalign2col.snap40
1 files changed, 9 insertions, 31 deletions
diff --git a/test/snapshots/tagalign2col.snap b/test/snapshots/tagalign2col.snap
index 56048c8b..0849ffae 100644
--- a/test/snapshots/tagalign2col.snap
+++ b/test/snapshots/tagalign2col.snap
@@ -1,47 +1,25 @@
-# The shared tail-end is scoped to a LAYOUT COLUMN. tagalign.snap proves the
-# sharing but only ever has one column, so nothing there would notice a vote
-# that leaked sideways: every pane in the window would still line up, and the
-# feature would look like it worked right up until you opened a second column.
-#
-# Here the long path is in the LEFT column (that is which side it lands on:
-# Alt-c puts the NEW column on the right, so the boot file keeps the left)
-# and the right column is a plain shell. Both columns are 80 wide, so both
-# would end their words at tag_right_pad — 58 columns in — if nothing pushed.
+# Each compact command run follows its own prefix, never a neighboring path.
dirmk deep
dirmk deep/proj
file deep/proj/document.txt alpha\nbeta\ngamma
-start 30 160 deep/proj/document.txt
-wait 8000 New Newcol
+start 31 160 deep/proj/document.txt
+wait 8000 Newcol Joincol
wait 8000 document.txt
stable 700 20000
-# Alt-n then Alt-c: a shell in a column of its own on the right (`New`/`Newcol`
-# open an empty +New scratch now, not a shell). Two columns, one pane each. The
-# file's own tag is 69 columns and so pushes past its column's pad; the shell on
-# the right sits AT its pad, 58 in. Read the two ends off this snap — they are
-# what the next one must not disturb.
+# A shell in a separate right-hand column.
key a-n
key a-c
stable 700 15000
key space w h
stable 400 5000
snap onecol
-# Alt-n: a second pane in the LEFT column. It is 48 columns of tag and would
-# right-align at 58 on its own; the file above it drags it out to 69 instead.
-# THE ASSERTION: the right column's `New Del Filter` has not moved a cell — same
-# absolute column as in `onecol`, still at its own pad — while the left
-# column's two rows now agree with each other at 69.
+# A left sibling does not move either existing tag's command text.
key a-n
stable 700 15000
snap aligned
-# ...and the ends are computed per column, not once for the window. Drag the
-# vertical border 20 columns right: the left column grows to 100 (tw-pad 78 is
-# now past the file's 69, so its pad binds again and both left rows move OUT to
-# 78) and the right column shrinks to 60 (tw-pad 38 is now short of the shell's
-# own 48, so its words fall back hard against the path at 48). Two different
-# rules firing in the same frame, one per column — a single window-wide end
-# could not produce this grid at all.
-press left 80 10
-drag left 100 10
-release left 100 10
+# Resizing moves the right column as a whole and clips without hidden spaces.
+press left 80 11
+drag left 100 11
+release left 100 11
stable 700 15000
snap widened