From b1769aba4a7c1984ab09bd3c90b69177b14c42d8 Mon Sep 17 00:00:00 2001 From: Gabriel Schneider Date: Sun, 8 Nov 2026 23:37:38 -0300 Subject: tests: the columns and layout snapshot scripts (14: colgrip collapse cornerdrag cornerdrag-left delask emptycol layout-close layout-open shrinktag tagalign tagalign2col windownav windowops wheeldrift) are process cases, test/process/tty_layout.zig, their goldens unchanged; checked against the old runner by the tty reading a drag as a motion (the same 7 fail in both); three core breaks (splitBelow at a third, minRows one more, a dropped column's width to its right) fail neither Co-Authored-By: Claude Fable 5.1 Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge --- test/snapshots/cornerdrag-left.snap | 39 ------------------------------------- 1 file changed, 39 deletions(-) delete mode 100644 test/snapshots/cornerdrag-left.snap (limited to 'test/snapshots/cornerdrag-left.snap') diff --git a/test/snapshots/cornerdrag-left.snap b/test/snapshots/cornerdrag-left.snap deleted file mode 100644 index 124f6351..00000000 --- a/test/snapshots/cornerdrag-left.snap +++ /dev/null @@ -1,39 +0,0 @@ -# corner grabs on the RIGHT column's side of the v border. The v handle is the -# LEFT column's last cell, so that column's own h hint runs THROUGH it while the -# right column's hints start one cell further right — the crossing there reads as -# a T butting into the junction rather than a full cross, and it is grabbable all -# the same: one drag moves the column edge and the RIGHT column's pane edge. -# Layout: windowops' -n 3 (col 0 x 0 w 50, panes on rows 1-15 and 16-29; col 1 -# x 50 w 50), then focus right and Alt-n so col 1 holds two panes as well, split -# at ITS own row. The two corners on col 49 are then row 16 (col 0's seam, the -# one that already worked) and row 5 (col 1's, the one this script is about). -file w.txt x -start 31 100 -n 3 -wait 8000 w.txt -stable 700 20000 -# a second pane in the RIGHT column -key c-w l enter -stable 400 5000 -key a-n -stable 700 15000 -snap right-split -# hover col 1's corner: hovering draws no hints any more, so the frame is -# empty; the drags below still show their previews -motion 50 5 -stable 400 5000 -snap hover-corner -# CONTROL: col 0's own seam, hovered: no hint either -motion 50 16 -stable 400 5000 -snap hover-left-corner -# grab col 1's corner and drag down-left: the column preview and col 1's row -# preview both follow the one mouse, the row dashes lying to the RIGHT of the v -# line because they are the right column's -press left 50 6 -drag left 30 13 -stable 400 5000 -snap corner-drag -release left 30 13 -motion 45 25 -stable 500 8000 -snap corner-done -- cgit v1.3