summaryrefslogtreecommitdiff
path: root/docs/typ/guide.typ
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-10-29 22:18:34 -0300
committerGabriel Schneider <[email protected]>2026-10-29 23:37:00 -0300
commitddcfd860ef05c37f5536038d8828cc81c0c4125c (patch)
tree447d95dc0769273f2919747e30f5a24faec3fc21 /docs/typ/guide.typ
parent2d86687b98f389232b213dfa67cfa731b0280fbb (diff)
downloadpardes-ddcfd860ef05c37f5536038d8828cc81c0c4125c.tar.gz
pardes-ddcfd860ef05c37f5536038d8828cc81c0c4125c.zip
upgrade: the Upgrade word (SPC s U, a tag, 9P) moves a running session onto the pardes installed where it started, in place, by exec at a step boundary: its dump in the DumpDir, its pty masters, terminals, stubs and daemon link kept open and named on the new command line, every view and running shell its own again; the daemon re-execs too, its registry on its command line; a build that cannot load the dump falls back to the old binary, or starts afresh with the shells adopted and the dump kept (test/daemon.py --upgrade, --upgrade --gui)
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Diffstat (limited to 'docs/typ/guide.typ')
-rw-r--r--docs/typ/guide.typ7
1 files changed, 6 insertions, 1 deletions
diff --git a/docs/typ/guide.typ b/docs/typ/guide.typ
index 0b721658..4430276f 100644
--- a/docs/typ/guide.typ
+++ b/docs/typ/guide.typ
@@ -358,7 +358,12 @@ one lets only that one go. A session is named by `--9p=` or
`--detach=`, else its pid. A session killed outright leaves its shells
running; #word("Adopt") in another takes them in as terminal panes, what
they showed gone. One `pardes --daemon` per user keeps all of it, and
-leaves once nothing is kept.
+leaves once nothing is kept. After a rebuild, #word("Upgrade")
+(#key("SPC s U")) moves a running session onto the pardes now installed
+where it was started from, in place: its text and undo, its views, its
+terminals with their running shells, and its terminals and windows come
+along, and the daemon moves too. A build that cannot read the session
+hands it back to the one that ran it.
= Config <config>