From f67fec978a9296c651ec06bd2f43686d34ff86ee Mon Sep 17 00:00:00 2001 From: Gabriel Schneider Date: Fri, 14 Aug 2026 13:40:29 -0300 Subject: look: richer path/range parsing, pdf rendering, corner-drag and stepgrain snapshots --- test/snapshots/cornerdrag-left.snap | 41 +++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create 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 new file mode 100644 index 00000000..c90dbc76 --- /dev/null +++ b/test/snapshots/cornerdrag-left.snap @@ -0,0 +1,41 @@ +# 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 30 100 -n 3 +wait 8000 w.txt +stable 700 20000 +# a second pane in the RIGHT column +key c-w l +stable 400 5000 +key a-n +stable 700 15000 +snap right-split +# hover col 1's corner: the v hint runs full height AND col 1's h hint lights, +# from col 51 rightward. Before this that row was dark on the handle — only the +# hovered column's seam lit, and the hovered cell belongs to col 0 +motion 50 5 +stable 400 5000 +snap hover-corner +# CONTROL: col 0's own seam is still a left-column corner, its h hint drawn +# through the handle from col 1 to the handle itself, unchanged +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 5 +drag left 30 12 +stable 400 5000 +snap corner-drag +release left 30 12 +motion 45 25 +stable 500 8000 +snap corner-done -- cgit v1.3