summaryrefslogtreecommitdiff
path: root/test/snapshots/chordcut.snap
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-09-28 22:57:53 -0300
committerGabriel Schneider <[email protected]>2026-10-01 00:12:15 -0300
commit2586e804e4df670bf6a5072ec776d9fc00c1c4b9 (patch)
tree8b5b5369e8a8653b1dd2ac4952a152f4afeec830 /test/snapshots/chordcut.snap
parent692ea930553e375bdbac874da93893b02b8725b3 (diff)
downloadpardes-2586e804e4df670bf6a5072ec776d9fc00c1c4b9.tar.gz
pardes-2586e804e4df670bf6a5072ec776d9fc00c1c4b9.zip
A tag that exactly fills its row stays one row, as acme's does
Tags wrapped one cell early to keep a cell for the caret past a full row, so a tag that exactly filled its column broke as De / l. acme's frame wraps a box only when it is wider than what the row has left, and frptofchar clamps the tick past a full line's end to the frame's edge. Tags now wrap at their full width; the caret past a full row sits at the tag layer's edge, and on the pane's last cell in a terminal grid, which has none past it. Two tiny-screen tests collapse their tags, as the others do, and the 41 goldens that moved were re-recorded by name after the same check: rows shift back up under the shorter tags and nothing else changes. chordcut's file-body clicks moved back with them. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Diffstat (limited to 'test/snapshots/chordcut.snap')
-rw-r--r--test/snapshots/chordcut.snap92
1 files changed, 46 insertions, 46 deletions
diff --git a/test/snapshots/chordcut.snap b/test/snapshots/chordcut.snap
index 36aad675..1baef7ec 100644
--- a/test/snapshots/chordcut.snap
+++ b/test/snapshots/chordcut.snap
@@ -29,42 +29,42 @@ wait 10000 line 3
stable 700 15000
snap opened
# 1-2 Cut: left-drag over "line" on line 2, tap middle while holding
+press left 8 10
+drag left 11 10
+press middle 11 10
+release middle 11 10
+release left 11 10
+stable 400 5000
+snap cut
+# 1-2 then 1-3 in one hold = copy: line 3 keeps its text, register loaded
press left 8 11
drag left 11 11
press middle 11 11
release middle 11 11
+press right 11 11
+release right 11 11
release left 11 11
stable 400 5000
-snap cut
-# 1-2 then 1-3 in one hold = copy: line 3 keeps its text, register loaded
-press left 8 12
-drag left 11 12
-press middle 11 12
-release middle 11 12
-press right 11 12
-release right 11 12
-release left 11 12
-stable 400 5000
snap copied
# 1-3 at a bare click point: hold left past the end of line 4, tap right —
# the register splices in at the click
-press left 14 13
-press right 14 13
-release right 14 13
-release left 14 13
+press left 14 12
+press right 14 12
+release right 14 12
+release left 14 12
stable 400 5000
snap pointpaste
# 1-3 over a fresh selection replaces it with the register
-press left 9 14
-drag left 11 14
-press right 11 14
-release right 11 14
-release left 11 14
+press left 9 13
+drag left 11 13
+press right 11 13
+release right 11 13
+release left 11 13
stable 400 5000
snap replaced
# arm the cancel tests: append `echo B''OO g.txt` to line 2
-press left 10 11
-release left 10 11
+press left 10 10
+release left 10 10
stable 400 5000
key i
text echo B''OO g.txt
@@ -73,50 +73,50 @@ settle 100
stable 400 5000
# 2-3 cancel (acme textselect2): tap right during the middle execute-drag
# over `echo B''OO` — the command never runs (no BOO anywhere)
-press middle 10 11
-drag middle 19 11
-press right 19 11
-release right 19 11
-release middle 19 11
+press middle 10 10
+drag middle 19 10
+press right 19 10
+release right 19 10
+release middle 19 10
stable 700 8000
snap cancelexec
# the same drag released clean proves the word was live: BOO appears
-press middle 10 11
-drag middle 19 11
-release middle 19 11
+press middle 10 10
+drag middle 19 10
+release middle 19 10
wait 10000 BOO
stable 700 10000
snap execafter
# 3-1 cancel (acme textselect3): tap left during the right look-drag over
# g.txt — no pane opens
-press right 21 11
-drag right 25 11
-press left 25 11
-release left 25 11
-release right 25 11
+press right 21 10
+drag right 25 10
+press left 25 10
+release left 25 10
+release right 25 10
stable 700 8000
snap cancellook
# the same look released clean opens g.txt
-press right 21 11
-drag right 25 11
-release right 25 11
+press right 21 10
+drag right 25 10
+release right 25 10
wait 10000 line 2
stable 700 10000
snap lookafter
# a fresh left click dismisses the chord's leftover selection instead of
# dragging the anchored span to the click: copy `line` on g.txt line 1
# (styled snap shows the selection), then click the next row (it's gone)
-press left 8 25
-drag left 11 25
-press middle 11 25
-release middle 11 25
-press right 11 25
-release right 11 25
-release left 11 25
+press left 8 24
+drag left 11 24
+press middle 11 24
+release middle 11 24
+press right 11 24
+release right 11 24
+release left 11 24
stable 400 5000
snapstyle chordsel
-press left 8 26
-release left 8 26
+press left 8 25
+release left 8 25
stable 400 5000
snapstyle clickdismiss
# g.txt opened under the lower shell's text and left it three rows: close it,