Documentation
¶
Overview ¶
Package spawn launches a fresh cux session from the panel. cuxdeck starts `cux` on a pseudo-terminal it owns, in the chosen directory — which is exactly what makes cux open its own attach socket, so the new session immediately shows up in the registry as attachable and the existing terminal bridge can drive it.
The PTY here is only there to make cux believe it has a terminal (it checks isatty); cuxdeck drains it and never reads it for content — the real mirror is cux's own attach socket. We size it large so a phone attaching later always wins the min-size negotiation and the terminal isn't clamped to 80x24.
The spawned cux is a child of the long-lived cuxdeck daemon, so it outlives the phone that started it — close the tab, the session keeps running, exactly like starting cux in a terminal and walking away.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
This section is empty.