folke / noice.nvim

💥 Highly experimental plugin that completely replaces the UI for messages, cmdline and the popupmenu.
Apache License 2.0
4.28k stars 99 forks source link

bug: Cursor jumps when typing Korean in Cmdline #954

Open 1ocate opened 1 hour ago

1ocate commented 1 hour ago

Did you check docs and existing issues?

Neovim version (nvim -v)

NVIM v0.10.0 Build type: Release

Operating system/version

MacOS 12.7.6

Describe the bug

When using Vim with this plugin’s Cmdline feature to type commands (e.g., after pressing :), typing Korean characters causes the cursor to unexpectedly jump from the end of the line to the middle, and the text starts getting inserted in the wrong position. Typing in English works correctly without this issue.

Steps To Reproduce

Open Vim. Use the plugin's Cmdline feature (press : to enter command mode). Attempt to type Korean characters. Observe the cursor jumping to the middle of the line while typing. Switch back to English input and type normally to see that the issue does not occur.

Expected Behavior

When typing in Korean using the plugin's Cmdline feature, the cursor should remain at the end of the line and behave the same as when typing in English.

Repro

No response

1ocate commented 1 hour ago

https://github.com/user-attachments/assets/8f5abd02-7d32-43cc-aa78-429321674ff1