Bug
When the active session is a shell session, the corresponding sidebar tab is not always highlighted correctly to reflect which session has focus.
Expected
The sidebar entry for the active session should always be visibly highlighted (the active-ring/selected state) so it's clear which session is currently focused.
Actual
For shell sessions, the sidebar highlight occasionally doesn't follow the active session — the wrong tab appears highlighted, or no tab appears highlighted at all.
Notes
The active-terminal highlight is driven by UpdateActiveTerminalHighlight / UpdateSidebarActiveState (called on every MainViewModel.ActiveSession change). Worth checking whether the sidebar-side path runs in all the same scenarios as the terminal-ring path, especially for sessions launched as raw shells vs. Claude sessions.
Bug
When the active session is a shell session, the corresponding sidebar tab is not always highlighted correctly to reflect which session has focus.
Expected
The sidebar entry for the active session should always be visibly highlighted (the active-ring/selected state) so it's clear which session is currently focused.
Actual
For shell sessions, the sidebar highlight occasionally doesn't follow the active session — the wrong tab appears highlighted, or no tab appears highlighted at all.
Notes
The active-terminal highlight is driven by
UpdateActiveTerminalHighlight/UpdateSidebarActiveState(called on everyMainViewModel.ActiveSessionchange). Worth checking whether the sidebar-side path runs in all the same scenarios as the terminal-ring path, especially for sessions launched as raw shells vs. Claude sessions.