diff options
| author | Gabriel Schneider <[email protected]> | 2026-09-28 22:57:53 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-10-01 00:12:15 -0300 |
| commit | 2586e804e4df670bf6a5072ec776d9fc00c1c4b9 (patch) | |
| tree | 8b5b5369e8a8653b1dd2ac4952a152f4afeec830 /src/look.zig | |
| parent | 692ea930553e375bdbac874da93893b02b8725b3 (diff) | |
| download | pardes-2586e804e4df670bf6a5072ec776d9fc00c1c4b9.tar.gz pardes-2586e804e4df670bf6a5072ec776d9fc00c1c4b9.zip | |
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 <[email protected]>
Diffstat (limited to 'src/look.zig')
| -rw-r--r-- | src/look.zig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/look.zig b/src/look.zig index d90d27b8..17746cd1 100644 --- a/src/look.zig +++ b/src/look.zig @@ -1378,6 +1378,7 @@ test "Look hover waits without mutating the pane and input cancels it" { while (p.nextEffect()) |_| {} const other_id = p.freeSlot() orelse return error.NoSparePaneForHoverTest; _ = try p.newShell(other_id, ""); + p.panes[other_id].?.tag_expanded = false; // the blank spot right of the file is its body, not its tag try std.testing.expect(layout.splitColumn(p, 0, other_id, false)); p.sync(); while (p.nextEffect()) |_| {} |
