[BUG] `Enter` should not send suggested prompt if an image is attached

Resolved 💬 6 comments Opened Dec 22, 2025 by tylerlaprade Closed Mar 2, 2026

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?

<img width="703" height="377" alt="Image" src="https://github.com/user-attachments/assets/04ef6238-b427-4c06-bf16-043b849304c2" />

I was trying to share an image, but Enter also sent the suggested prompt which did something completely different from what I wanted and derailed the conversation. I hadn't even read the suggested prompt, since I was just trying to send my image.

What Should Happen?

When the user pastes an image, there should not be a suggested prompt.

Error Messages/Logs

Steps to Reproduce

  1. Paste an image
  2. Press Enter without typing any text

Claude Model

Opus

Is this a regression?

I don't know

Last Working Version

_No response_

Claude Code Version

2.0.75

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

VS Code integrated terminal

Additional Information

_No response_

View original on GitHub ↗

This issue has 6 comments on GitHub. Read the full discussion on GitHub ↗