summaryrefslogtreecommitdiff
path: root/src/syntax.zig
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-09-30 21:54:31 -0300
committerGabriel Schneider <[email protected]>2026-10-01 00:12:17 -0300
commit30011f7269d0febdefbb4c907f8a28d932f44f6f (patch)
tree722c5752673169d28f10fcd5227deac7419ca371 /src/syntax.zig
parentcc8b72c1b1fd19cd3ef159fe4f56c7b7916380ce (diff)
downloadpardes-30011f7269d0febdefbb4c907f8a28d932f44f6f.tar.gz
pardes-30011f7269d0febdefbb4c907f8a28d932f44f6f.zip
An editor's private pardes-osc133 prompt files go at Exit and at a fatal signal, and a start sweeps the ones a dead editor left
/tmp had gathered thousands of private prompt files: Exit removed its own, but an editor killed by a signal, or a crashed one, left them for ever. They now carry their editor's pid in the name, a SIGTERM or SIGHUP removes them before the signal's death, and each start removes those whose pid kill(pid, 0) answers ESRCH for. Files of the older shape carry no pid and are left alone, as a running older editor may still read them; the shared ones in the runtime directory are kept, being every session's. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Diffstat (limited to 'src/syntax.zig')
0 files changed, 0 insertions, 0 deletions