diff options
| author | Gabriel Schneider <[email protected]> | 2026-11-25 06:06:54 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-11-25 06:09:08 -0300 |
| commit | 5c897d00fe064cf8463ef76ea804b0aff6b62f0a (patch) | |
| tree | 94650db0d887b1c5cbf1ff7aba492b7c036b791c /test | |
| parent | 1d440373e90516ace8e45e8e64f2e4ae5d4a4773 (diff) | |
| download | pardes-5c897d00fe064cf8463ef76ea804b0aff6b62f0a.tar.gz pardes-5c897d00fe064cf8463ef76ea804b0aff6b62f0a.zip | |
Band, Core, draw, mouse, layout: a band over a terminal or a kind's pane is drawn over its body's top rows, so a transient state never resizes a pty or a kind's view (walk UI polish P1, G3's finding; UX DESIGN.md D6's borrowing and R3, drawn never written, my reading of D5/D6 for these bodies): a band's rows came out of the pane's body in every pane (Core.sync `tag_rows += band_rows`), so `:` or SPC Down in a terminal resized its pty smaller and back, the shell redrew under it and left its prompt row blank (tagnav's row 6 `$ `, ttytaken's prompt line moved two columns), and a PDF's view was re-sized each time; now Band.over (a terminal, a kind's pane) keeps its `band_rows` at 0, the pane's size the user's alone, and the band is painted after every pane's body (draw.render, Band.shownRows: what the band wants held to the body's rows) at the body's first row, its layer's viewport there; mouse.bandPoint reads the same rows; layout.floorRows borrows nothing for it; joinBand takes its rows; TEST FIRST: TagState.zig "a band over a terminal is drawn over its body's top rows: its pty keeps its size across the band's open and close" (a shell: SPC Down, then `:`: band_rows 0, the tag's rows, the pty's rows and columns as at rest, the band layer at the body's top, no resize_pty effect after Esc; on the parent it fails at band_rows: the band's rows were the body's); the terminal test of rolled levels loses its key-cell-alone step (D12 took that state away); core-test 1066/1237 (171 skipped), shell-test's terminal tests 12/12; process-test: tagnav and ttytaken regenerated and read: tagnav's tty-on and column-tag snaps have the shell's `$ ` on row 6 again (G2's golden), ttytaken's at-prompt row 5 is ` echo TAKEN''ONE` again (main's; E2's two-column shift was the resize's redraw); a user met it at every `:` or band in a terminal
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBFhdevVu48bvL9kCE
Diffstat (limited to 'test')
| -rw-r--r-- | test/snapshots/tagnav.golden | 2 | ||||
| -rw-r--r-- | test/snapshots/ttytaken.golden | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/test/snapshots/tagnav.golden b/test/snapshots/tagnav.golden index 9bf061bc..1039c40a 100644 --- a/test/snapshots/tagnav.golden +++ b/test/snapshots/tagnav.golden @@ -42,12 +42,14 @@ == snap tty-on grid=100x31 cursor=54,6 |2: /tmp/pardes-snap/tagnav/cwd/w.txt Save Term Coll$ /tmp/pardes-snap/tagnav/cwd Term+bash Save Mode |4: 1 alpha $ ls +|6: 3 gamma $ |30: ✓ /tmp/pardes-snap/tagnav/cwd/w.txt Window 5 messages · SPC h m == snap tty-tag grid=100x31 cursor=95,2 == snap tty-restored grid=100x31 cursor=54,6 == snap column-tag grid=100x31 cursor=2,1 |2: /tmp/pardes-snap/tagnav/cwd/w.txt Save Term Coll /tmp/pardes-snap/tagnav/cwd Term+bash Save Mode |4: 1 alpha ls +|6: 3 gamma |30: ✓ /tmp/pardes-snap/tagnav/cwd/w.txt Up 8 messages · SPC h m == snap column-word grid=100x31 cursor=5,1 == snap workspace-tag grid=100x31 cursor=2,0 diff --git a/test/snapshots/ttytaken.golden b/test/snapshots/ttytaken.golden index a2011891..337072f1 100644 --- a/test/snapshots/ttytaken.golden +++ b/test/snapshots/ttytaken.golden @@ -32,7 +32,7 @@ | /tmp/pardes-snap/ttytaken/cwd == snap at-prompt grid=210x31 cursor=4,5 |2: /tmp/pardes-snap/ttytaken/cwd Term+bash Save Mode Filter Collapse Del @`echo TAKEN''ONE` -|5: echo TAKEN''ONE +|5: echo TAKEN''ONE |6: TAKENONE |30: ✓ @p1 Exec 1 message · SPC h m == snap paging grid=210x31 cursor=9,29 |
