Agent CLI: Option+Backspace / Meta+Delete clears entire prompt on Cyrillic text (Unicode word-boundary bug)

Where does the bug appear (feature/product)?

Cursor CLI

Describe the Bug

Summary
Word-delete (⌥⌫ / Meta+Delete) works for Latin text but clears the whole prompt when the text is Cyrillic. Independent of active keyboard layout.

Environment
macOS, iTerm2 (Option Key Sends = Esc+), latest agent; iTerm maps ⌥⌫ as Meta+Delete on both layouts.

Note
Likely ASCII-only / broken Unicode word boundary in the prompt editor (y0 / vim-engine path), not a terminal key encoding issue.

Steps to Reproduce

  1. agent, type hello world → ⌥⌫ → deletes one word ✓
  2. Type привет мир → ⌥⌫ → entire prompt cleared ✗
  3. Type привет мир, switch to English layout, ⌥⌫ → still clears entire prompt ✗

Expected Behavior

Delete previous Cyrillic word (same as zsh / Claude Code / Codex).

Operating System

MacOS

Version Information

About Cursor CLI

CLI Version 2026.07.23-e383d2b
Model Cursor Grok 4.5 High Fast
Subscription Tier Pro+
OS darwin (arm64)
Terminal iterm2
Shell zsh

Does this stop you from using Cursor

No - Cursor works, but with this issue

Hey there!
Thanks for the clear repro, what you’re seeing isn’t intended, and it’s not caused by your keyboard layout or iTerm mapping.

Word-delete (⌥⌫) currently mishandles non-Latin text in the agent prompt, so Cyrillic can get wiped as a whole instead of one word. We’ve let the team know and this is an issue we’re tracking. No timeline to share yet, but I’ll post here when there’s an update.

Until then, plain Backspace (character delete) is the reliable path for Cyrillic in the CLI prompt.