summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/typ/running.typ11
1 files changed, 8 insertions, 3 deletions
diff --git a/docs/typ/running.typ b/docs/typ/running.typ
index e78c8f1a..07274157 100644
--- a/docs/typ/running.typ
+++ b/docs/typ/running.typ
@@ -81,9 +81,14 @@ the same). It draws nothing and is 160×50 until an attach or the root
#file("ctl")'s `size` sizes it. Until something attaches, 9P is the only
way in (#doc("scripting")).
-A terminal's detached session (`pardes --detach`) runs on through its
-terminal's hangup while a daemon keeps it. A window's
-(`pardes-gui --detach`) ends on it, as any job does. With no daemon,
+// main.zig, the --detach branch (the exec of the pardes beside it).
+`pardes-gui --detach` runs the `pardes` installed beside it in its place:
+a detached session draws nothing, and a window's binary would start a GPU
+device and its fonts for it. So every detached session is a terminal's
+(`ps` says tty), and a window shows it as a client; only where no `pardes`
+is beside it is the session the window's binary, with no window.
+A terminal's detached session runs on through its terminal's hangup while
+a daemon keeps it; a window's binary's ends on it, as any job does. With no daemon,
`--detach` still starts a session, which nothing can attach to: only 9P
reaches it.