summaryrefslogtreecommitdiff
path: root/src/sam_edit.zig
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-11-05 19:27:34 -0300
committerGabriel Schneider <[email protected]>2026-11-05 22:03:21 -0300
commitc6e5b0aec57394f7459377dae1d3fa45550e7bf0 (patch)
treec74b8117ad15bc77e868745388b155a8a35ee43b /src/sam_edit.zig
parentd0bb5e63a95bcf2195743e222f468d4c508d11c0 (diff)
downloadpardes-c6e5b0aec57394f7459377dae1d3fa45550e7bf0.tar.gz
pardes-c6e5b0aec57394f7459377dae1d3fa45550e7bf0.zip
split pardes.zig by noun, Effect: what goes out moves into src/Effect.zig, the clean room's name: the Effect union (its Buf now pub, the session's fields name Effect.Buf), PtySignal, WatchMode, the two caps and the assert that a write costs the ring no room, with perform and the two helpers only it calls (writeChecked, promoteSaved); the root names the types as before and the session keeps p.perform as a declaration alias (the hosts and the tape call it); the outbox (emit, nextEffect and the parked writes) stays with the session, as the clean room's Core has emit; tests moved with perform, by name: Detach asks the host to let its terminal go, and says so when there is nothing to leave; Save on a scratch asks for a path in its inherited dir and makes it a file; Save on a terminal writes its plaintext scrollback and stays a terminal; Save on an output buffer writes its rows out and leaves the buffer alone; Save takes the path as an argument, relative to the pane's own directory; a save the host could not do leaves the pane dirty; Save elsewhere copies a file's bytes and keeps the pane on its own file; saves armed in one batch stay with their own panes; a save whose pane is gone before the drain writes nothing; Save reaches every tagline with text behind it and no other; a save path that names no file is refused before anything is rewritten; a Save the host could not do logs no save record (and their helper drainForSavePath); a pure move, no field touched, a dump and the wire as they were; gates: tui core-test 960/960, behaviour-test 238/238, gui unit-test 1518/1519 (1 skipped)
Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
Diffstat (limited to 'src/sam_edit.zig')
0 files changed, 0 insertions, 0 deletions