Cmd+V duplicates pasted text in Agents Window chat input

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

When pasting text from the clipboard using Cmd+V in the Agents Window chat text area, the pasted content is duplicated (e.g., “hello” becomes “hellohello”). This only affects the Agents Window, the regular chat sidebar in the IDE window works correctly.

Pasting via right-click → Paste and Cmd+Shift+V both work correctly in the Agents Window.

Steps to Reproduce

  1. Copy any text to the clipboard (Cmd+C).
  2. Open the Agents Window in Cursor.
  3. Click into the chat text input area.
  4. Press Cmd+V to paste.
  5. Observe: the clipboard text appears twice, concatenated.

Expected Behavior

The clipboard text should be inserted once.

Operating System

MacOS

Version Information

Version: 3.13.25 (Universal)
VS Code Extension API: 1.128.0
Commit: 31e8d61c448c7472e371505838a0fe34083dad50
Date: 2026-07-28T06:17:45.069Z
Layout: IDE
Build Type: Stable
Release Track: Default
Electron: 40.10.3
Chromium: 144.0.7559.236
Node.js: 24.15.0
V8: 14.4.258.32-electron.0
xterm.js: 6.1.0-beta.256
OS: Darwin arm64 25.5.0

Does this stop you from using Cursor

No - Cursor works, but with this issue

Hi there!
You’re seeing the same issue that was already flagged over on Cmd+V inserts clipboard text twice in Agents (Glass) prompt input, so I’m going to merge this into that thread to keep things in one place. The behavior isn’t intended, it’s macOS-only, it’s specific to the Agents Window, and this is an issue we’re tracking - it’ll be sorted out in the next stable release.

Until then, the two workarounds you already spotted (Cmd+Shift+V and right-click → Paste) both insert once.