Skip to content

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

Closed

Description

@Sewer56

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.

Activity

  1. github-actions commented on Nov 1, 2025

    @github-actions
    Contributor

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

    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.

  2. changed the title [-]OpenTUI: Hitting `Enter` on Model Selector `leader+m`, causes message underneath to be sent.[/-] [+]OpenTUI: Hitting `Enter` on Model Selector `leader+m`, causes message to be sent.[/+] on Nov 1, 2025
  3. added
    opentuiThis relates to changes in v1.0, now that opencode uses opentui
    on Nov 2, 2025
  4. thdxr commented on Nov 2, 2025

    @thdxr
    Member

    fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingopentuiThis relates to changes in v1.0, now that opencode uses opentui

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions