diff options
| author | Gabriel Schneider <[email protected]> | 2026-11-25 14:19:43 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-11-25 14:29:36 -0300 |
| commit | f7f6b564c0f43aaa31233dcdf1ae7daf24799fe1 (patch) | |
| tree | f63d38c997eb6974e1669cd943851715d6f8ac91 /test | |
| parent | 4062e54f04ec6489a6624141df6620d89fe8de27 (diff) | |
| download | pardes-f7f6b564c0f43aaa31233dcdf1ae7daf24799fe1.tar.gz pardes-f7f6b564c0f43aaa31233dcdf1ae7daf24799fe1.zip | |
tagstate: a rolled level that wraps gives its hints `↓ unroll · ? help` its spare row, its last child going down to leave them room on the last row (UX D3: the same right block for every rolled level): S2's 26 px 05d showed `]` rolled in two rows at 100 columns without them while SPC's (04a) had them on its third; THE CAUSE (core/TagState.zig head): the children were laid out keeping no room for the hints, which right() then drops whole when the last row has fewer than their 19 cells (two spaces and 17): `]`'s second row had 16; THE FIX: on a level that already wraps and has a row to spare (fewer than 3, a terminal's its own tag rows), the last child keeps the hints' cells (and a struck key's) and goes to the next row when it would leave them none; a level of one row keeps its one row and a level that fills its rows keeps its children, the hints dropping where they do not fit (D3: hints drop first; the earlier test "a rolled level breaks between its children only ..." keeps `SPC h` at 60 columns one row with none); `g` at 100 columns fills its three rows (its third 86 cells of 100, the hints want 19), so S2's 05e keeps none: only a child given to `+N ↓` or a shorter hint could make room, a ruling for UX; TEST FIRST: TagState.zig "a rolled level that wraps has its hints on its last row at every width that leaves it a row to spare ..." (SPC, `]`, `g`, 40 to 160 columns, every two-row level ends with them): fails on the base at TagState.zig:1382 (a two-row level without them, as `]` at 100 columns); core-test filtered "a rolled level" 14/14; the sweeps before it (3 rows at most at every width, a terminal's tag rows kept, `SPC h` one row) hold
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBFhdevVu48bvL9kCE
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions
