Skip to content

[WebUI] Enter submits on IME composition confirm, preventing Japanese input #6950

Closed

Description

@MogamiTsuchikawa

Description

When using OpenCode WebUI with Input Method Editors (IME) such as Japanese, Chinese, or Korean, pressing Enter to confirm input composition causes the message to be sent immediately, even though the composition is still in progress. This is a critical issue for users who depend on IME languages, as they cannot use the natural way to confirm character composition.

Plugins

None

OpenCode version

1.1.2

Steps to reproduce

  1. Open OpenCode WebUI
  2. Switch to an IME language (e.g., Japanese, Chinese, Korean)
  3. Start typing a message using the IME (e.g., type a Japanese sentence)
  4. Press Enter to confirm the composed text 5. The message is sent immediately instead of inserting the confirmed text

Screenshot and/or share link

No response

Operating System

macOS

Terminal

None

Activity

  1. github-actions commented on Jan 5, 2026

    @github-actions
    Contributor

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

    These issues also involve IME/keyboard input handling. Feel free to ignore if your specific case involves the WebUI rather than the TUI.

  2. MogamiTsuchikawa commented on Jan 5, 2026

    @MogamiTsuchikawa
    ContributorAuthor

    I fixed with this PR.
    #6952

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

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingwebRelates to opencode on web / desktop

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions