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/layout-open.golden | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'test/snapshots/layout-open.golden') diff --git a/test/snapshots/layout-open.golden b/test/snapshots/layout-open.golden index c48f476e..91d41790 100644 --- a/test/snapshots/layout-open.golden +++ b/test/snapshots/layout-open.golden @@ -2,7 +2,7 @@ |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/layout-open/cwd Tty+bash Save /tmp/pardes-snap/layout-open/cwd Tty+bash Save -| Mode Filter Collapse Del Mode Filter Collapse Del +| Mode Filter Collapse Del Mode Filter Collapse Del | ls ls | sub sub | @@ -17,26 +17,26 @@ | | | /tmp/pardes-snap/layout-open/cwd Tty+bash Save -| Mode Filter Collapse Del +| Mode Filter Collapse Del | ls | sub == snap altn-left grid=100x31 cursor=4,11 |7: /tmp/pardes-snap/layout-open/cwd Tty+bash Save -|8: Mode Filter Collapse Del +|8: Mode Filter Collapse Del |9: ls |10: sub == snap altn-right grid=100x31 cursor=54,11 |7: /tmp/pardes-snap/layout-open/cwd Tty+bash Save /tmp/pardes-snap/layout-open/cwd Tty+bash Save -|8: Mode Filter Collapse Del Mode Filter Collapse Del +|8: Mode Filter Collapse Del Mode Filter Collapse Del |9: ls ls |10: sub sub == snap file-open grid=100x31 cursor=7,24 -|22: /tmp/pardes-snap/layout-open/cwd/sub/f.txt Sav -|23: e Tty Collapse Del +|22: /tmp/pardes-snap/layout-open/cwd/sub/f.txt Save +|23: Tty Collapse Del |24: 1 echo 'TTY'OK == snap ttydir grid=100x31 cursor=7,24 -|20: sub /tmp/pardes-snap/layout-open/cwd/sub (echo 'TT -|21: Y'OK) exit 0 Kill Save Collapse Del -|22: /tmp/pardes-snap/layout-open/cwd/sub/f.txt Sav % echo 'TTY'OK -|23: e Tty Collapse Del TTYOK +|20: sub /tmp/pardes-snap/layout-open/cwd/sub (echo 'TTY +|21: 'OK) exit 0 Kill Save Collapse Del +|22: /tmp/pardes-snap/layout-open/cwd/sub/f.txt Save % echo 'TTY'OK +|23: Tty Collapse Del TTYOK |24: 1 echo 'TTY'OK exit 0 -- cgit v1.3