diff options
| author | Gabriel Schneider <[email protected]> | 2026-11-24 14:50:56 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-11-24 14:58:20 -0300 |
| commit | 8688c01e9d3ce7524d37e2add652a6168c77880a (patch) | |
| tree | a15c9a0bcee492f548a116bee8acd3ccbd53ccbd /dev/gui/deck.zig | |
| parent | 249e0c92979012fc839ccd7b06643ee8ad5a735e (diff) | |
| download | pardes-8688c01e9d3ce7524d37e2add652a6168c77880a.tar.gz pardes-8688c01e9d3ce7524d37e2add652a6168c77880a.zip | |
load: a view's top row is read back as the session holds it, never held to its line's bytes (row scroll round 4, fault 2: 'client 3's dump loaded as another session', once in the merge67b release soak): `File.State.scroll_row` was a `.place` held at a load to `lastRow` (the top line's bytes), but no step holds it so: an edit leaves a view's row where it was while its top line shrinks or another line becomes its top (`ParkedPlaces`, a twin's, the live pane's own), and every reader takes a row past its line's as the line's last (`top`/`topSkip`, the walks' `@min(t.row, rows - 1)`), so the SESSION holds such a row and a join's load cut it: another digest. TEST FIRST, failing on uxxwxpvt (the fault 1 fix): views.zig "a view's top on a wrapped line's third row, the line taken out by another view and the next one empty: its top row past its line's, read as its last, and the session's dump loads as the session" (the session's row 2 on an empty line, read as row 0; the loaded core's digest another); the place and `lastRow` deleted (a row of any size is read as its line's last by every reader: `topSkip`'s walk ends at the line's end; the digest and the key take it as a number); fault 1's stale `top_skip.row` read by a step (`scrollRows`' map path: a row of another view's line plus the notch) was a second road to such a row
Co-Authored-By: Claude Opus <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T
Diffstat (limited to 'dev/gui/deck.zig')
0 files changed, 0 insertions, 0 deletions
