Skip to content

Bug: IME composition breaks on the first keystroke in the v2 prompt input #39632

Description

@tanapok

Description

When using the new prompt input, typing with an IME breaks on the first keystroke. The first character is committed as literal text into the input box instead of staying in the composition, so it can't join the rest.

The old layout handles this correctly, so it only affects the v2 editor.

Plugins

No response

OpenCode version

v1.18.6

Steps to reproduce

For example with double pinyin, typing ceuu leaves c in the box while euu stays in the IME candidate window.

Screenshot and/or share link

before.mp4

Operating System

macOS 27.0 Beta

Terminal

No response

Activity

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions