muxg: end a session (end_req two-step) from pane and picker #97

Open
opened 2026-09-05 19:39:39 +00:00 by a73x · 0 comments
a73x commented 2026-09-05 19:39:39 +00:00 (Migrated from git.a73x.sh)

The native tiling design (2026-09-05) makes detach and end distinct, and interaction.zig has detach. Nothing in src/gui/ sends end_req or calls client.endSession: the GUI cannot end a session, only leave it. The TUI has two doors (Ctrl-\ X through the pane's own connection, picker x over a side connection) with the daemon's own others-attached two-step and a 3 s arm.

Wanted: end-from-pane and end-from-picker in the GUI over the same end_req/end_reply verbs, the refusal shown and a second press within the arm confirming, the pane leaving when the shell does. A gate on retiring the wall.


Migrated from git-collab issue 0b725c822f79c1d18e8094f057e8d742da547894.

Original author: a73x dev@a73x.sh.

The native tiling design (2026-09-05) makes detach and end distinct, and `interaction.zig` has detach. Nothing in `src/gui/` sends `end_req` or calls `client.endSession`: the GUI cannot end a session, only leave it. The TUI has two doors (`Ctrl-\ X` through the pane's own connection, picker `x` over a side connection) with the daemon's own others-attached two-step and a 3 s arm. Wanted: end-from-pane and end-from-picker in the GUI over the same `end_req`/`end_reply` verbs, the refusal shown and a second press within the arm confirming, the pane leaving when the shell does. A gate on retiring the wall. --- Migrated from git-collab issue `0b725c822f79c1d18e8094f057e8d742da547894`. Original author: a73x <dev@a73x.sh>.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
a73x/mux#97
No description provided.