summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/CHANGELOG.md23
1 files changed, 23 insertions, 0 deletions
diff --git a/src/CHANGELOG.md b/src/CHANGELOG.md
index 4466ad26..10cc451d 100644
--- a/src/CHANGELOG.md
+++ b/src/CHANGELOG.md
@@ -2,6 +2,29 @@
## Unreleased
+- One `pardes --daemon` per user keeps sessions, started by the first
+ session and gone once it keeps nothing. `pardes` in a terminal forks
+ its session off and stays as its stub: `Detach` (`SPC s D`), or a
+ terminal that closes, puts the terminal back and leaves the session
+ running in place (no fork of the core, no dump), and the stub ends.
+ `pardes --attach[=name]` in any terminal takes it back there. A
+ window's Detach closes the window and keeps the process;
+ `pardes-gui --attach[=name]` opens it again. A terminal session takes a
+ terminal and a window session a window, and the other is refused in
+ words. The daemon holds a dup of every shell's pty: a session killed
+ outright leaves its shells running, and `Adopt` in another session
+ takes them in as terminal panes (what they showed is gone; a resize
+ makes them redraw). A hangup never ends a session the daemon keeps (it
+ is the terminal's end); TERM and INT do, its shells with it.
+ `PARDES_DAEMON=off` runs a session as before.
+- The frame wire goes: `src/detached/server.zig`, `client.zig` and the
+ cell frames of `wire.zig`, the frontends that drew a session's screen
+ from them, the smallest-common-grid rule, and the `Attach` word that
+ switched a session's own terminal to another. A `--detach` session is
+ now a terminal (or window) session with none attached yet. Attaching
+ from another machine is gone until the replicated clients
+ (docs/next-daemon.md, phase 5); `wire.zig` keeps the framing, the hello
+ and the input events for them.
- One PNG and one JPEG decoder in a binary: images decode through wuffs,
the decoders ghostty uses (ghostty-vt already links them), and stb_image
keeps only the other formats. stb's own inflate and image writer go, as