summaryrefslogtreecommitdiff
path: root/src/Macro.zig
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-10-29 21:20:35 -0300
committerGabriel Schneider <[email protected]>2026-10-29 21:20:55 -0300
commit64184a16e58094f6b861cd1027920ddf21d9df0d (patch)
treece020f161d217d3c926df4f0b6d54ff0e64aa6cb /src/Macro.zig
parent411ac49dc8b7d901385caa05d1aefd4843de2a97 (diff)
downloadpardes-64184a16e58094f6b861cd1027920ddf21d9df0d.tar.gz
pardes-64184a16e58094f6b861cd1027920ddf21d9df0d.zip
screen-state replicas: a rollback never brings a terminal's past back: the rows the core keeps read of a terminal marked stale after a delta and after a copy is put back, and a test that a delta applied under a speculation outlives its rollback
replica.zig: the core's cache of a terminal's rows (shell_rows) is invalidated by feedOutput, which a replica no longer calls; a delta and fetched rows now mark it, and so does a rollback, whose copy holds whatever rows were read before it was taken (a replica draws between steps). The test types into the text pane, lets the shell print under the held copy, lands its delta, reads the rows, and rolls back: the terminal is the authority's newest, the history as long, the rows the screen's. Without the stale mark it reads an older grid's rows; without the epoch's pause the rollback frees the emulator's pages and it crashes. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Diffstat (limited to 'src/Macro.zig')
0 files changed, 0 insertions, 0 deletions