Skip to content

[BUG] Left arrow in AskUserQuestion doesn't return to Agents view #58990

Description

@nitsanavni

Summary

While the Agents view is open and a running agent invokes the AskUserQuestion tool, pressing Left arrow inside the AUQ prompt does nothing — it should pop back to the Agents view (the panel you opened the agent from).

The Left arrow appears swallowed by AUQ's focus and never reaches the navigation handler that normally returns to the Agents view.

Repro

  1. Open the Agents view (claude agents or the in-session shortcut).
  2. Attach to an agent that triggers an AskUserQuestion (any sub-agent that asks for a choice).
  3. With the AUQ option list focused, press Left arrow.

Observed

Left arrow has no effect. The only way out is to answer the question (or cancel via ESC), then navigate back.

Expected

Left arrow returns focus to the Agents view, the same way it does from other in-agent screens. The AUQ stays pending so the user can pick it up again, matching the existing "go back to agents list" affordance.

Environment

  • claude-code: 2.1.141
  • Platform: Linux (cloud devcontainer, Gitpod/Ona; Linux 6.17.0-1012-aws)
  • Terminal: browser terminal

Related (not duplicates)

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:agent-viewclaude agents TUI / --bg / FleetView / daemon bg sessionsarea:tuibugSomething isn't workinghas reproHas detailed reproduction stepsplatform:linuxIssue specifically occurs on LinuxstaleIssue is inactive

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions