Duplicate paste occurs when renaming files/directories and pasting multiline text on macOS Tahoe

Describe the Bug

Environment

  • macOS Tahoe 26.5.2
  • Cursor 3.13.25 (Stable)
  • Apple Silicon

Issue

Sometimes a pasted block is inserted twice.

I have observed this multiple times in:

  • renaming directories
  • renaming files
  • pasting multiline Markdown into the editor

This does NOT happen in CotEditor on the same machine.

Simple one-line paste (e.g. “ABC”) does not always reproduce the issue.

Impact

The most problematic case is duplicated file and directory names because they affect project structure and Git operations.

Current workaround

I manually review pasted content and renamed items for accidental duplication.

I’m happy to provide additional reproduction information if it would be helpful.

Steps to Reproduce

  1. Open Cursor on macOS Tahoe.
  2. Open an existing project.
  3. Rename a file or directory by pasting a new name, or paste a multiline block into a Markdown file.
  4. Observe whether the pasted content is inserted twice.

Notes:

  • The issue does not occur consistently enough for me to provide a 100% reliable reproduction sequence.
  • It has occurred multiple times while renaming files, renaming directories, and pasting multiline Markdown/text blocks.
  • The same clipboard content pasted into CotEditor does not exhibit this behavior.
  • A simple one-line paste (e.g. “ABC”) did not reproduce the issue in my testing.

The issue has been occurring for some time. I usually notice it immediately and delete the duplicated text, so I cannot say exactly when it first started.

Operating System

MacOS

Version Information

Version: 3.13.25
VS Code Extension API: 1.128.0
Commit: 31e8d61c448c7472e371505838a0fe34083dad50
Date: 2026-07-28T06:17:45.069Z
Layout: Agent Window
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

macOS Tahoe 26.5.2

Does this stop you from using Cursor

No - Cursor works, but with this issue

Hey, thanks for the detailed report. This is a known issue with double paste on macOS in the Agent Window Glass, and it’s already fixed in 3.14.x. You’re on 3.13.25, which shipped before the fix, so that’s why you’re seeing duplicates.

Please update Cursor: Cursor > Check for Updates. The current stable is 3.14.7. After updating, the double paste when renaming files or folders and pasting multi line text should be gone.

Until you update, pasting via right click > Paste or Cmd+Shift+V only triggers once, so you can use that as a temporary workaround.

Also, this isn’t related to macOS Tahoe itself, so that’s why CotEditor is fine. The cause was on the Cursor side. Let me know if it still happens after the update.