[PR #7704] feat(app): add tab cycling for modes in the prompt input #12486

Closed
opened 2026-02-16 18:17:23 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/anomalyco/opencode/pull/7704

State: closed
Merged: No


Closes #7224

What does this PR do?

  • This PR adds support for cycling through your different agents/modes in the prompt input using tab and shift-tab. I know this maybe isn't the absolute best solution. For example, what if you wanna indent pasted code or something. But, maybe we can think about that later. This could be fine for now, so you don't have to reach down to the select menu every time you wanna change the agent?

How did you verify your code works?

I tried hitting Tab and Shift-Tab in the prompt input, and it works as expected.

Demo

https://github.com/user-attachments/assets/8ebcbd50-b99c-408b-a3f2-a5154eeae0c7

**Original Pull Request:** https://github.com/anomalyco/opencode/pull/7704 **State:** closed **Merged:** No --- Closes #7224 ### What does this PR do? - This PR adds support for cycling through your different agents/modes in the prompt input using tab and shift-tab. I know this maybe isn't the absolute best solution. For example, what if you wanna indent pasted code or something. But, maybe we can think about that later. This could be fine for now, so you don't have to reach down to the select menu every time you wanna change the agent? ### How did you verify your code works? I tried hitting `Tab` and `Shift-Tab` in the prompt input, and it works as expected. ### Demo https://github.com/user-attachments/assets/8ebcbd50-b99c-408b-a3f2-a5154eeae0c7
yindo added the pull-request label 2026-02-16 18:17:23 -05:00
yindo closed this issue 2026-02-16 18:17:23 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#12486