Skip to content

tui: down arrow enters subagent navigation — up arrow at top should exit back to parent #36948

Closed

Description

@JavaGT

Summary

TUI: down arrow enters subagent navigation — once at the top, up arrow should exit back to parent

Environment

  • opencode version: 0.0.0-next-15562
  • OS: Darwin 25.5.0 (darwin arm64)
  • Terminal: tmux, xterm-256color, truecolor
  • Shell: /bin/zsh
  • Install/channel: next
  • Active plugins: db-tools, malformed-args-guard, pioneer-route-info, shorten-tool-descriptions, @tarquinen/opencode-dcp, opencode-goal-plugin

Reproduction

  1. Open the TUI
  2. Press down arrow to enter the subagent navigation (shows active shells/subagents)
  3. Press up arrow to scroll back to the top of the list
  4. Press up arrow again — nothing happens

Expected Behavior

When the cursor is at the top of the subagent navigation list, pressing up arrow should exit back to the parent view. The same pattern already used for subagent session navigation (up returns to parent) should apply here too: down enters, up exits when already at the top.

Actual Behavior

Up arrow scrolls to the top of the list and then stops — it does not exit back to the parent view. The user must reach for Escape (far end of the keyboard) instead.

Additional Context

Feature request, not a bug.

Activity

  1. github-actions commented on Jul 14, 2026

    @github-actions
    Contributor

    This issue doesn't fully meet our contributing guidelines.

    What needs to be fixed:

    • This is described as a feature request but does not use the Feature Request template. Feature requests should have a title starting with [FEATURE]: and use the Feature Request issue template.

    Please edit this issue to address the above within 2 hours, or it will be automatically closed.


    For keybind-related issues, please also check our pinned keybinds documentation: #4997

    If you believe this was flagged incorrectly, please let a maintainer know.

  2. changed the title [-]tui: arrow keys enter subagent/shell listings but no nearby key exits them[/-] [+]tui: down arrow enters subagent/shell listings — up arrow should exit back to parent[/+] on Jul 14, 2026
  3. github-actions commented on Jul 14, 2026

    @github-actions
    Contributor

    Thanks for updating the issue! Everything looks good now — the template is filled out with clear reproduction steps, environment info, and expected/actual behavior. Appreciate the detail!

  4. changed the title [-]tui: down arrow enters subagent/shell listings — up arrow should exit back to parent[/-] [+]tui: down arrow expands shell command output — up arrow should collapse it[/+] on Jul 14, 2026
  5. changed the title [-]tui: down arrow expands shell command output — up arrow should collapse it[/-] [+]tui: down arrow enters shells/subagents list — up arrow at top should exit back to parent[/+] on Jul 14, 2026
  6. changed the title [-]tui: down arrow enters shells/subagents list — up arrow at top should exit back to parent[/-] [+]tui: down arrow enters subagent navigation — up arrow at top should exit back to parent[/+] on Jul 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions