Skip to content

fix(tui): return /quit commandline to a live session immediately - #705

Merged
mohitranka merged 1 commit into
mainfrom
fix/quit-commandline-selection
Sep 16, 2026
Merged

mohitranka merged 1 commit into
mainfrom
fix/quit-commandline-selection

Conversation

@mohitranka

Copy link
Copy Markdown
Contributor

In a multi-session view, per-session /quit waited for the deferred Roster/Selected echo before moving selection, so the composer stayed bound to the closed session and felt slow.

  • Reconcile selection locally from cached snapshots on CommandFollowUp::Quit success.
  • Extend quit_closes_selected_session_before_exiting_on_last_session to assert the commandline returns to the surviving primary.

Validation: cargo test --package forge-tui --locked quit (14 passed), multi_task (50 passed), fmt + clippy clean.

@mohitranka
mohitranka merged commit 8e36612 into main Sep 16, 2026
3 checks passed
@mohitranka
mohitranka deleted the fix/quit-commandline-selection branch September 16, 2026 08:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant