Drag-and-drop image onto prompt leaks file path into all other terminal tabs' input

Resolved 💬 3 comments Opened Apr 23, 2026 by Maxymvs Closed May 28, 2026

Summary

When Claude Code is open in multiple terminal tabs side-by-side, dragging an image onto the prompt with Shift held (to insert the file path) inserts the path into every tab's input box, not just the active one. The paths then show up when switching to the other tabs.

Steps to reproduce

  1. Open two or more terminal tabs, each running claude in a different project/session.
  2. In tab A, Shift+drag an image file onto the Claude Code prompt to insert its path.
  3. Switch to tab B (and C, D, …).

Expected

Only tab A's prompt contains the dropped image's path.

Actual

Every other Claude Code tab's prompt also contains the dropped path(s). Over a long session, switching tabs reveals an accumulated list of image paths that were dropped into other tabs.

Environment

  • Claude Code: 2.1.118
  • macOS: 26.4.1

Notes

  • Happens consistently with multiple tabs in the same terminal window.
  • Only Shift+drag (path insertion) has been verified; not sure yet if the same happens for plain drag (image paste).

View original on GitHub ↗

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