[BUG] Drag-and-drop files into TUI input does not work on Linux (Kitty + Wayland)

Resolved 💬 3 comments Opened Mar 15, 2026 by vnz Closed Apr 15, 2026

Environment

  • Claude CLI version: 2.1.75 (Claude Code)
  • Operating System: Debian GNU/Linux (bookworm), kernel 6.12.74
  • Terminal: Kitty 0.46.0 (with allow_remote_control yes and listen_on unix:@mykitty)
  • Display server: Wayland (wayland-0)

Bug Description

Dragging and dropping a file from a file manager into the Claude Code TUI input field does nothing. The file path is not inserted and no error is shown. This is a recent regression — it was working a few versions ago.

Steps to Reproduce

  1. Open Claude Code in Kitty on Wayland
  2. Drag any file from a file manager into the Claude Code input area
  3. Nothing happens — no path is inserted, no feedback

Expected Behavior

The file path should be inserted into the input field, or the file should be attached to the prompt — as it did in previous versions.

Actual Behavior

The drop event is silently ignored. No text is inserted and no file is attached.

Additional Context

  • Copy/paste (Ctrl+C / Ctrl+V) from the same file manager into the Claude Code input works correctly — images are attached to the prompt and local file paths are inserted as expected
  • Drag-and-drop also works fine at a regular bash/zsh prompt in the same Kitty + Wayland setup
  • This points to a regression in the TUI's handling of dropped content specifically, since clipboard paste and the terminal itself both work

View original on GitHub ↗

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