Skip to content

tui: subagent view provides no discoverable way to return to main view #36322

Description

@ewatch

Summary

The subagent view does not show a keyboard hint or clickable control for returning to the main conversation. This made the view appear stuck until discovering that Escape returns to the main view.

Environment

  • opencode version: OpenCode v2 0.0.0-next-15311
  • OS: Darwin 25.3.0, arm64
  • Terminal: Ghostty, TERM=xterm-256color, COLORTERM=truecolor
  • Shell: /bin/zsh
  • Install/channel: v2 next
  • Active plugins:
    • ./plugins/cmux-session.js
    • ./plugins/cmux-feed.js

Reproduction

  1. Start OpenCode v2 in Ghostty.
  2. Start a review subagent using GPT 5.6 Sol.
  3. Open the subagent view.
  4. Try to return to the main conversation using the visible UI, mouse, or common quit controls.

Expected Behavior

The subagent view should provide a visible hint or multiple discoverable ways to return to the main conversation, such as:

  • A footer hint showing Esc and its action.
  • A clickable back control.
  • A documented alternative keyboard shortcut.

Actual Behavior

No return key or clickable back control was visible. Mouse clicks did not return to the main view, and Ctrl+C did not exit the view or process.

The interface appeared stuck until pressing Escape, which successfully returned to the main conversation.

Additional Context

The issue occurred while running a review subagent with GPT 5.6 Sol.

Escape is a functional workaround, but its behavior was not discoverable from the subagent view. Ctrl+C not quitting made it less clear whether the view or process was responsive.

Reproduction frequency has not yet been established.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions