Add multiplexer detach/resume (#407) - #430
Conversation
|
What is the expected behavior for multiplexers that are started outside of profiles? This will otherwise need some changes before it can be merged.
|
|
Thanks for the review — addressing these in follow-up commits on this PR. Multiplexers started outside profiles 1. Visor / Quick Settings 2. Close Tab destroying zmx 3. Hard-coded detach chords |
|
Thanks for the review — a few notes and one design call I’d like your preference on. Multiplexers started outside profilesIntent is that Detach/resume/banners key off the live pane binding (
|
|
Since this PR was started I've also now landed full herdr control mode support that will want to ensure is consistent in terms of detach behavior. |
Rebase kitknox#430 onto latest main (Discover Sessions, herdr control mode, Quick Settings / Visor). Detach keys off live pane bindings, uses swipe-discovered chords with Settings fallback, routes herdr -CC through HerdrController.detach, and Close Tab on zmx leaves the session.
103cc2e to
20c8620
Compare
|
Latest force push has regression that removes the iPad visor feature. |
|
Sorry, it's still a WIP integrating everything. Will let you know when things shape up. |
Leave a mux session running from Tabs / the tab menu, focus a live auto-start attachment instead of opening a second client, and offer Reconnect on a short banner. Raw-pane chords use swipe discovery when present, otherwise the usual defaults.
5187cdc to
8463343
Compare
herdr (control) is a gateway plus projected tabs, not a raw pane binding. Match HerdrController the same way tmux -CC matches TmuxController, and do not treat a leftover gateway shell as still attached.
|
@kitknox I went ahead and addressed some outstanding items. This and follow-up PR's are quite large though. Feel free to review at your own time or close if it's too large! |
Retain original tmux socket selectors alongside resolved paths through reconnect and tab restoration. Treat unquoted tilde expansion as unknown. Persist multiplexer resume targets in tab state without saving them to profiles, preserving Zellij restoration.

Summary
tmux -CC, raw tmux, zellij, herdr (including herdr (control)), and zmx. Session stays running on the host; reattach from Profiles / the same auto-start profile.HerdrControllerthe same way tmux -CC matchesTmuxController(not the leftover gateway shell).HerdrController.detachpath as ESC / the herdr menu.⌃B d/⌃O d/⌃B q). No new Settings UI.⌘⇧XDetach Other Clients unchanged.This PR is only detach / resume / banner. Dropped from an earlier draft: Detach All, a Detach Chords settings page, tab-title session subtitles, and missing-binary scaffolding (#432).
Part of #407. Stack: PR 1 of 3 — follow-ups: #431 (close-after-reattach / ✕ vs Detach), #432 (optional missing-binary banner).
Screencast
One DietPi recording covers this PR and #431 (no separate #430-only take).
Different.Multiplexers-gh.mp4
This PR
Later in the same recording (not this diff)
Test plan