Where does the bug appear (feature/product)?
Cursor CLI
Describe the Bug
Bug Report: Incorrect Cursor Position in Agent CLI Input Box with Thai/Multi-byte Characters
Description
When typing Thai characters (or other multi-byte characters) in the Cursor Agent CLI input box, the cursor position becomes incorrect. The cursor appears to be offset from the actual typing position, making it difficult to edit text accurately.
Steps to Reproduce
Steps to Reproduce
- Open Cursor IDE
- Open Agent CLI (Command Palette → “Cursor: Agent” or use the Agent input box)
- Start typing Thai characters (e.g., “ที่นี่จ้า”)
- Observe that the cursor position is incorrect - it appears offset from where the text is actually being inserted
Expected Behavior
Expected Behavior
The cursor should be positioned correctly at the end of the typed text, matching the actual insertion point.
Operating System
MacOS
Version Information
CLI Version 2026.01.28-fd13201
Model Auto
OS darwin (arm64)
Terminal apple-terminal
Shell zsh
Does this stop you from using Cursor
No - Cursor works, but with this issue