Skip to content

tui: shell-only activity indicator opens the Subagents tab #60166

Closed

Description

@OpeOginni

Description

  • Clicking ↓ 1 shell in the TUI opens the Subagents tab, even when only shell commands are running.
  • It should open Shell when only shells are listed. Subagents-only and mixed activity should keep opening Subagents.

Plugins

OpenCode version

  • Development checkout at ba06ff9e0b, version 2.0.32. The same click handler is still present on current dev.

Steps to reproduce

  1. Open a session with a running background shell command and no running subagents.
  2. Click the ↓ 1 shell indicator below the prompt.
  3. The picker opens on Subagents instead of Shell.

Screenshot

Screen.Recording.2026-10-29.at.10.01.09.mov

Operating System

  • macOS

Terminal

Activity

  1. opencodejr commented on Oct 29, 2026

    @opencodejr
    Contributor

    Thanks for the clear report! You're asking for the ↓ N shell indicator below the prompt to open the Shell tab when only background shells are running, and to keep opening Subagents when subagents are running (alone or with shells).

    Right now this is intended behaviour, not a bug. The indicator runs the same command as the shortcut, session.child.first ("Toggle subagent picker"), which always opens the picker on the Subagents tab. That's how the click was set up in #43325. Opening the Shell tab when only shells are listed sounds like a sensible improvement, and the maintainers will consider it.

    Related:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions