ctrl-left/right doesn't navigate between subagents since 1.0 TUI - TUI captures left and right? #2771

Open
opened 2026-02-16 17:37:11 -05:00 by yindo · 3 comments
Owner

Originally created by @strangemonad on GitHub (Nov 10, 2025).

Originally assigned to: @thdxr on GitHub.

Description

This may have broken before but the 1.0 TUI cutover is when I first started noticing it.

If i set a new keybind e.g. ctrl+n, it cycles just fine, suggesting it's possibly an issue with how left-right events are captured

OpenCode version

1.0.0 - 1.0.55

Steps to reproduce

  1. new session, prompt to create subagents e.g. run 10 subagents that run bash, echo their agent id, and sleep for 10 seconds
  2. try to cycle

Screenshot and/or share link

No response

Operating System

No response

Terminal

Ghostty, iTerm2

Originally created by @strangemonad on GitHub (Nov 10, 2025). Originally assigned to: @thdxr on GitHub. ### Description This may have broken before but the 1.0 TUI cutover is when I first started noticing it. If i set a new keybind e.g. ctrl+n, it cycles just fine, suggesting it's possibly an issue with how left-right events are captured ### OpenCode version 1.0.0 - 1.0.55 ### Steps to reproduce 1. new session, prompt to create subagents e.g. `run 10 subagents that run bash, echo their agent id, and sleep for 10 seconds` 2. try to cycle ### Screenshot and/or share link _No response_ ### Operating System _No response_ ### Terminal Ghostty, iTerm2
yindo added the opentuibug labels 2026-02-16 17:37:11 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Nov 10, 2025):

This issue might be a duplicate of existing issues. Please check:

  • #3338: Same problem with subagent navigation keybindings not working since opentui/1.0 update, but with different key combinations (shift+left/right)
  • #2555: Similar issue where ctrl-left/right don't work for child session navigation in earlier versions

Feel free to ignore if none of these address your specific case.

@github-actions[bot] commented on GitHub (Nov 10, 2025): This issue might be a duplicate of existing issues. Please check: - #3338: Same problem with subagent navigation keybindings not working since opentui/1.0 update, but with different key combinations (shift+left/right) - #2555: Similar issue where ctrl-left/right don't work for child session navigation in earlier versions Feel free to ignore if none of these address your specific case.
Author
Owner

@wolfie82 commented on GitHub (Nov 10, 2025):

If you're on a Mac, try to disable the workspace keyboard short cuts which by default use the same keystroke patterns

@wolfie82 commented on GitHub (Nov 10, 2025): If you're on a Mac, try to disable the workspace keyboard short cuts which by default use the same keystroke patterns
Author
Owner

@thdxr commented on GitHub (Nov 11, 2025):

^ yeah ctrl+left/right are probably bad defaults because on mac mission control uses them. we'll switch it

@thdxr commented on GitHub (Nov 11, 2025): ^ yeah ctrl+left/right are probably bad defaults because on mac mission control uses them. we'll switch it
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#2771