diff options
| author | Gabriel Schneider <[email protected]> | 2026-11-22 21:33:05 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-11-22 21:36:28 -0300 |
| commit | 9acf9f558de00f4588b51dee2cd56b9150c7fb35 (patch) | |
| tree | 3231f30f2f0c1155aa7a87615641435ec97d7bf2 /core/Core.zig | |
| parent | 3f250d0f963f375d699f11ffc02b07f2e2cbbbee (diff) | |
| download | pardes-9acf9f558de00f4588b51dee2cd56b9150c7fb35.tar.gz pardes-9acf9f558de00f4588b51dee2cd56b9150c7fb35.zip | |
terminals' views: the carry's fuzz against ghostty's own view at 3,000 seeds, and its one disagreement ruled (pardes-term-join-11, item 1b: round 10's late finding, seed 1956: "carried 46, ghostty's own null"): the failing run first, a probe of seed 1956 step by step: a 44x3 terminal, the view on row 23 (the active area 24-26), resized to 21x6 (narrower AND taller): ghostty narrows in two phases, the rows first (PageList.resizeWithoutReflow: the active area grows to rows 21-26 and takes the view's row, so its pinned viewport is set to the output there, PageList.zig:2944-2950), then the reflow (row 23's line on rows 46-47 of 55, the active area 49-54): the row is history again, but ghostty decided in between; the carry (terminal.zig `carry`/`carried`) reads the pin's row once, after the whole write: 46, history; the ruling (the coordinator's lean, 2026-11-22): nothing under the view went away, ghostty's jump is the order of its own two phases (a widening's reflow checks before its growth too, PageList.zig:1525-1531), so the view stays on its line, and a view stays a function of the end state, not of the emulator's steps; so the carry is right and the oracle is taught: the fuzz's body is `carryFuzz` (one seed, how many it put back), whose oracle holds a pin of its own at its view's row through each resize, and where ghostty's view went to the output while that pin's row is history again, puts its view back on that row and counts it; the seed is its own test ("a scrolled-back view stays on its line through a narrowing that grows the rows ...", exactly one put back); the fuzz at 3,000 seeds (a local run, the bound put back to 300): clean, every disagreement of that one kind; not exercised by the fuzz and checked by reading: an erase of the history (CSI 3 J: the pin is garbage, the history empty, the place on the output, as ghostty's), a reset (ESC c: the screen made again, the place on the output, as ghostty's), a pruned row at the cap (the history's top, as ghostty's `.top`); a user could see it: a scrolled-back view of a pane made narrower and taller at once stays where it was reading, where ghostty the terminal would have jumped to the live screen; term-test 17/17 (the base's 16 and the seed's test), the 3,000 seeds 2/2
Co-Authored-By: Claude Opus <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T
Diffstat (limited to 'core/Core.zig')
0 files changed, 0 insertions, 0 deletions
