-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Labels
area:frontendFrontend/UI codeFrontend/UI codearea:tmuxtmux integration and behaviortmux integration and behaviorenhancementNew feature or requestNew feature or request
Description
Problem
On reconnect, the client does not reliably return to the same pane/zoom context it was using before disconnect.
Requested behavior
When a client reconnects to the server with the same client identity/session context, it should try to restore:
- The same tmux pane that was previously active
- The same zoom state (zoomed or unzoomed)
Scope / Notes
- This should be best-effort: restore only if the target session/window/pane still exists and is accessible.
- If restoration is not possible, gracefully fall back to current default behavior.
- Avoid breaking initial-connect behavior for new clients.
Acceptance criteria
- After disconnect + reconnect, client lands on the same pane when that pane still exists.
- Zoom state is restored to match prior state when possible.
- If pane/session/window no longer exists, client reconnect still succeeds with sensible fallback.
- Behavior is covered by tests (at least integration-level for reconnect flow).
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
area:frontendFrontend/UI codeFrontend/UI codearea:tmuxtmux integration and behaviortmux integration and behaviorenhancementNew feature or requestNew feature or request