From 2586e804e4df670bf6a5072ec776d9fc00c1c4b9 Mon Sep 17 00:00:00 2001 From: Gabriel Schneider Date: Mon, 28 Sep 2026 22:57:53 -0300 Subject: 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 --- test/snapshots/ttyclick.golden | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'test/snapshots/ttyclick.golden') diff --git a/test/snapshots/ttyclick.golden b/test/snapshots/ttyclick.golden index 75eb9b30..a69d951f 100644 --- a/test/snapshots/ttyclick.golden +++ b/test/snapshots/ttyclick.golden @@ -1,8 +1,8 @@ == snap tty-bodyclick grid=100x31 cursor=4,6 |Newcol Joincol Find Grep Help Changelog Tutor Dump NextColor Debug Exit | New Tty Find Grep Joincol Delcol New Tty Find Grep Joincol Delcol -|$ /tmp/pardes-snap/ttyclick/cwd Tty+bash Save Mo /tmp/pardes-snap/ttyclick/cwd Tty+bash Save Mo -| de Filter Collapse Del de Filter Collapse Del +|$ /tmp/pardes-snap/ttyclick/cwd Tty+bash Save Mod /tmp/pardes-snap/ttyclick/cwd Tty+bash Save Mod +| e Filter Collapse Del e Filter Collapse Del | $ ls ls | probe.txt probe.txt | $ @@ -16,13 +16,13 @@ | | | -| /tmp/pardes-snap/ttyclick/cwd Tty+bash Save Mo -| de Filter Collapse Del +| /tmp/pardes-snap/ttyclick/cwd Tty+bash Save Mod +| e Filter Collapse Del | ls | probe.txt == snap tty-tagedit grid=100x31 cursor=33,2 == snap tty-tagexit grid=100x31 cursor=4,6 == snap ins-bodyclick grid=100x31 cursor=11,4 -|2: ^ /tmp/pardes-snap/ttyclick/cwd Tty+bash Save Mo /tmp/pardes-snap/ttyclick/cwd Tty+bash Save Mo +|2: ^ /tmp/pardes-snap/ttyclick/cwd Tty+bash Save Mod /tmp/pardes-snap/ttyclick/cwd Tty+bash Save Mod |4: ls ls |6: -- cgit v1.3