diff options
| author | Gabriel Schneider <[email protected]> | 2026-10-30 15:38:44 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-10-30 16:49:16 -0300 |
| commit | ac57e8c3a05cdd8f587b6faf47e7f9d2c4357dee (patch) | |
| tree | 6597aa97a1d2a682b62fc212848fdfc6a12c5b05 /docs/ghostty-macos-notes.md | |
| parent | 470b8098a53ad3b3b0a2ef90f0d43416ea50a9b0 (diff) | |
| download | pardes-ac57e8c3a05cdd8f587b6faf47e7f9d2c4357dee.tar.gz pardes-ac57e8c3a05cdd8f587b6faf47e7f9d2c4357dee.zip | |
views: a view drawn or read outside a step (a replica client's own while another is live) leaves the live view's slot and its panes' shares holding nothing, as unpark and drawOthers leave them
withParked parked the live view and copied it back, but left its slot (column tags' texts, a chord's argument, the presentation) and each pane's share (its selections) pointing at what the live fields own. A rollback copy walks every slot (src/rollback.zig): once the live view freed one of them and the heap gave the memory to another, the copy saved that and put its old bytes back over it, which `emptied` exists to prevent (the slot left as H5's hypothesis had it, in a path it did not name: Replica.draw and Replica.within).
Test (failing before): a view drawn outside a step leaves the live view's slot holding nothing a rollback could put old bytes back through.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Diffstat (limited to 'docs/ghostty-macos-notes.md')
0 files changed, 0 insertions, 0 deletions
