[BUG] @ with pasted absolute path duplicates insertion on Enter

Open 💬 0 comments Opened Jun 23, 2026 by NathanULD

Preflight Checklist

  • [x] I have searched existing issues and this hasn't been reported yet
  • [x] This is a single bug report (please file separate reports for different bugs)
  • [x] I am using the latest version of Claude Code

What's Wrong?

Another @<path> is inserted instead of sending.

What Should Happen?

Message sends.

Error Messages/Logs

Steps to Reproduce

Steps to reproduce:

  1. Press @ in input
  2. Paste absolute file path
  3. Press Space
  4. Type some text
  5. Press Enter to send

Claude Model

Sonnet (default)

Is this a regression?

I don't know

Last Working Version

_No response_

Claude Code Version

2.1.177 (Claude Code)

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

Terminal.app (macOS)

Additional Information

Possibly related to https://github.com/anthropics/claude-code/issues/63065

View original on GitHub ↗