Skip to content

Sidebar tab highlight is not always correct in shell sessions #73

Description

@mortenaslo

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions