When using the iFlytek input method to enter English and pressing the Enter key at that time, the entered content would be lost

Describe the Bug

When using the iFlytek input method to enter English and pressing the Enter key at that time, the entered content would be lost.

Steps to Reproduce

Enter the cursor editor, press command + i to open the agent dialogue, switch to the iFlytek input method, and then input in Chinese mode. If the input content is an English word, the input text will disappear when you press Enter.

iFlytek Input Method download address: https://srf.xunfei.cn/#/

Expected Behavior

使用输入法输入英文时,回车键可以直接选中并填入文字,而不是丢失

Screenshots / Screen Recordings

Operating System

MacOS

Current Cursor Version (Menu → About Cursor → Copy)

cursor version 1.2.4
vscode version 1.99.3

Does this stop you from using Cursor

No - Cursor works, but with this issue