Where does the bug appear (feature/product)?
Cursor IDE
Describe the Bug
When filtering custom slash commands with Korean IME input, the highlighted/selected autocomplete item is not the first matching command. Pressing Enter executes the wrong highlighted command.
Example: typing /주 shows /주석 as the first list item, but /완료검증 (which does not match 주) remains highlighted. Enter runs /완료검증 instead of /주석.
This appears related to Korean IME composition (isComposing) and/or the selection index not resetting when the filtered command list updates.
Steps to Reproduce
- Create custom slash commands with Korean names under
.cursor/commands/(e.g./주석,/완료검증,/쿼리추출). - Open Agent/Chat input in Cursor IDE.
- Switch to Korean IME and type
/주. - Observe the slash command autocomplete popup:
/주석is first, but a different item (e.g./완료검증) is highlighted. - Press Enter.
Expected Behavior
Enter should select the best/first matching command (/주석). While Korean IME composition is active, Enter should not confirm a mismatched highlighted item. When the filtered list updates, the highlight should reset to the top match.
Operating System
Windows 10/11
Version Information
Version: 3.15.6
VSCode Version: 1.128.0
Commit: a1f686545fd0ce8917bbd2449f733551a9bce420
OS: Windows_NT x64 10.0.26200 (Windows 11 Pro)
IME: Korean (Hangul)
Additional Information
Workarounds:
- Click the correct command with the mouse
- Press Arrow Up to re-select the first item, then Enter
- Commit IME composition first (e.g. Space), then Enter
- Use ASCII command names to avoid IME path
Related class of issues: CJK IME Enter handling without checking KeyboardEvent.isComposing.
Screenshot available showing /주 typed, /주석 first in list, but /완료검증 highlighted.
Does this stop you from using Cursor
No - Cursor works, but with this issue
