[FEATURE] File drag-and-drop in CLI (Windows Terminal)

Resolved 💬 1 comment Opened May 17, 2026 by YoshKoz Closed Jun 16, 2026

Preflight Checklist

  • [x] I have searched existing requests and this feature hasn't been requested for this specific platform/scenario

Problem Statement

Dragging a file from Windows Explorer into the Claude Code CLI prompt in Windows Terminal does nothing. No path inserted, no attachment, no feedback.

This used to work in older Claude Code versions (path was inserted on drop). It no longer works as of at least v2.1.x.

Environment

  • OS: Windows 11 Pro 26H2
  • Terminal: Windows Terminal (latest)
  • Claude Code: 2.1.143
  • Shell: PowerShell 7.6

Proposed Solution

On file drop into the CLI prompt, insert @path/to/file into the input (same as typing @ + filename). This is the minimum viable behavior.

Ideal behavior: binary/image files attach as [Pasted File] the same way clipboard images attach via Alt+V.

Related Issues

  • #51027 (drag-drop feature request, marked stale/duplicate)
  • #41338 (VS Code drag-drop, stale)
  • #25128 (VS Code drag-drop bug)

Priority

Medium — workaround exists (@ autocomplete) but drag-drop is significantly faster for nested paths.

View original on GitHub ↗

This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗