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/tty.golden | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'test/snapshots/tty.golden') diff --git a/test/snapshots/tty.golden b/test/snapshots/tty.golden index 4034be54..b876ace6 100644 --- a/test/snapshots/tty.golden +++ b/test/snapshots/tty.golden @@ -1,8 +1,8 @@ == snap tty-on 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/tty/cwd Tty+bash Save Mode Fi /tmp/pardes-snap/tty/cwd Tty+bash Save Mode Fi -| lter Collapse Del lter Collapse Del +|$ /tmp/pardes-snap/tty/cwd Tty+bash Save Mode Fil /tmp/pardes-snap/tty/cwd Tty+bash Save Mode Fil +| ter Collapse Del ter Collapse Del | $ ls ls | m.txt m.txt | $ @@ -16,8 +16,8 @@ | | | -| /tmp/pardes-snap/tty/cwd Tty+bash Save Mode Fi -| lter Collapse Del +| /tmp/pardes-snap/tty/cwd Tty+bash Save Mode Fil +| ter Collapse Del | ls | m.txt == snap tty-echo grid=100x31 cursor=4,8 @@ -25,12 +25,12 @@ |7: SNAPOK |8: $ == snap tty-off grid=100x31 cursor=4,8 -|2: /tmp/pardes-snap/tty/cwd Tty+bash Save Mode Fi /tmp/pardes-snap/tty/cwd Tty+bash Save Mode Fi +|2: /tmp/pardes-snap/tty/cwd Tty+bash Save Mode Fil /tmp/pardes-snap/tty/cwd Tty+bash Save Mode Fil |4: ls ls |6: echo SNAP''OK |8: == snap shift-esc-on grid=100x31 cursor=4,8 -|2: $ /tmp/pardes-snap/tty/cwd Tty+bash Save Mode Fi /tmp/pardes-snap/tty/cwd Tty+bash Save Mode Fi +|2: $ /tmp/pardes-snap/tty/cwd Tty+bash Save Mode Fil /tmp/pardes-snap/tty/cwd Tty+bash Save Mode Fil |4: $ ls ls |6: $ echo SNAP''OK |8: $ @@ -38,6 +38,6 @@ |4: $ ls Last ls == snap ctrl-b-off grid=100x31 cursor=4,21 |4: $ ls ls -|17: $ /tmp/pardes-snap/tty/cwd Tty+bash Save Mode Fi +|17: $ /tmp/pardes-snap/tty/cwd Tty+bash Save Mode Fil |19: $ ls |21: $ -- cgit v1.3