OpenTUI: Hitting Enter on Model Selector leader+m, causes message to be sent. #2458

Closed
opened 2026-02-16 17:35:44 -05:00 by yindo · 2 comments
Owner

Originally created by @Sewer56 on GitHub (Nov 1, 2025).

Description

  1. Type in message
  2. Press leader+m to select model
  3. Select model
  4. Message is immediately sent`

OpenCode version

1.0.10

Anything Else?

No more info is needed.

Originally created by @Sewer56 on GitHub (Nov 1, 2025). ### Description 1. Type in message 2. Press `leader+m` to select model 3. Select model 4. Message is immediately sent` ### OpenCode version 1.0.10 ### Anything Else? No more info is needed.
yindo added the opentuibug labels 2026-02-16 17:35:44 -05:00
yindo closed this issue 2026-02-16 17:35:44 -05:00
Author
Owner

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

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

  • #1678: paste events into model selector are captured by editor

The behavior you're describing where hitting Enter on the Model Selector causes the message underneath to be sent is very similar to the issue described in #1678, where paste events into the model selector are being captured by the editor instead of being handled by the selector itself.

Both issues seem to relate to input events intended for the model selector being incorrectly processed by the underlying editor component, causing unintended actions (message sending in your case, paste handling in the other case).

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

@github-actions[bot] commented on GitHub (Nov 1, 2025): This issue might be a duplicate of existing issues. Please check: - #1678: paste events into model selector are captured by editor The behavior you're describing where hitting Enter on the Model Selector causes the message underneath to be sent is very similar to the issue described in #1678, where paste events into the model selector are being captured by the editor instead of being handled by the selector itself. Both issues seem to relate to input events intended for the model selector being incorrectly processed by the underlying editor component, causing unintended actions (message sending in your case, paste handling in the other case). Feel free to ignore if none of these address your specific case.
Author
Owner

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

fixed

@thdxr commented on GitHub (Nov 2, 2025): fixed
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#2458