[PR #6952] fix(app): avoid unintended submits during IME composition #12177

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

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

State: closed
Merged: Yes


Summary

  • Prevent IME conversion-confirmation Enter from submitting the prompt input.

Problem

IME conversion confirmation (Enter) triggered submit, sending the message unintentionally.

fix: #6950

Fix

Guard Enter handling while composition is active using composition events and event.isComposing.

image
**Original Pull Request:** https://github.com/anomalyco/opencode/pull/6952 **State:** closed **Merged:** Yes --- ## Summary - Prevent IME conversion-confirmation Enter from submitting the prompt input. ## Problem IME conversion confirmation (Enter) triggered submit, sending the message unintentionally. fix: #6950 ## Fix Guard Enter handling while composition is active using composition events and `event.isComposing`. <img width="834" height="162" alt="image" src="https://github.com/user-attachments/assets/c328f711-8c66-478a-afd0-4e8678ddc3d2" />
yindo added the pull-request label 2026-02-16 18:17:06 -05:00
yindo closed this issue 2026-02-16 18:17:06 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#12177