diff options
Diffstat (limited to 'test/snapshots/tagalign.snap')
| -rw-r--r-- | test/snapshots/tagalign.snap | 52 |
1 files changed, 16 insertions, 36 deletions
diff --git a/test/snapshots/tagalign.snap b/test/snapshots/tagalign.snap index 0d2cad12..9df22f57 100644 --- a/test/snapshots/tagalign.snap +++ b/test/snapshots/tagalign.snap @@ -1,53 +1,33 @@ -# The command words of every pane in a LAYOUT COLUMN end at the same screen -# column. tag_right_pad sets that end, but a path too long to fit inside the -# pad used to collapse its own gap alone, so one row's New/Del sat hard against -# its path while the row below it kept its own out at the pad — two ragged -# columns of words you read (and click) down. -# -# Here the file's path is 43 columns longer than the shell's cwd, and long -# enough (85 of the pane's 98 columns) that its own gap is zero. The shell -# below it moves out to the file's end instead of the pad's, so both rows spell -# New and Del in the same two places. +# Compact commands stay beside their own prefix regardless of sibling length. dirmk deep dirmk deep/nested-project-directory file deep/nested-project-directory/document.txt alpha\nbeta\ngamma -start 30 100 deep/nested-project-directory/document.txt -wait 8000 New Newcol +start 31 100 deep/nested-project-directory/document.txt +wait 8000 Newcol Joincol wait 8000 document.txt stable 700 20000 -# Alt-n: a shell BELOW the file, in the same column key a-n stable 700 15000 snap aligned -# A pane whose tag does not FIT is counted AT its right edge rather than -# dropped from the vote. Dropping it would be a threshold: here the file's tag -# is 85 columns, so one column of resize either side of that would move BOTH -# rows of words by the whole pad, and dragging a window edge across the width -# would snap them back and forth under the pointer. 87 -> 86 moves them one -# column, and the file's own tag is the only thing that loses a character. -resize 30 87 +# Clipping never changes underlying tag text or shorter siblings' positions. +resize 31 87 stable 400 5000 snap fits -resize 30 86 +resize 31 86 stable 400 5000 snap overby1 -resize 30 100 +resize 31 100 stable 700 15000 -# A left click on a tagline SEEDS its tail: the gap stops being computed and -# becomes ordinary characters you own. It must not stop the pane VOTING — -# this clicks the FILE's path, and the file is the widest tag in the column, -# the one holding the end out. The shell's row below must not move a column -# (it did once: every other tagline in the column snapped left on the click, -# and a middle-click that used to hit Del landed on whitespace). -press left 12 2 -release left 12 2 +press left 12 3 +release left 12 3 stable 400 5000 snap clicked -# ...and proving that with the words themselves. Where Del SITS is asserted by -# the two snaps above; this step clicks it. It closes the file, so the shell is alone in the column -# and falls back to tag_right_pad short of its own edge — the shared end is -# the LIVE widest, not a high-water mark. -press middle @Del 2 -release middle @Del 2 +# End reveals the complete command suffix; a scrolled Del still executes. +resize 31 70 +key end +stable 400 5000 +snap revealed +press middle @Del 3 +release middle @Del 3 stable 700 15000 snap alone |
