Image drag-and-drop does not work in Ghostty terminal (macOS)
Resolved 💬 3 comments Opened Mar 28, 2026 by us Closed Apr 1, 2026
Description
Dragging and dropping images into Claude Code works in iTerm2 but fails silently in Ghostty on macOS. No image chip is created and no error is shown.
Steps to Reproduce
- Open Ghostty → start
claude(with or without tmux) - Drag a PNG/JPG from Finder into the Claude Code input
- Nothing happens — no image chip, no error
Expected
Image chip [Image #1] appears, same as in iTerm2.
Actual
Silent failure. The image is lost.
Environment
- macOS Sequoia 15.5 (Darwin 25.3.0)
- Ghostty (latest, Homebrew cask)
- tmux 3.6a
- Claude Code (latest)
Notes
This is likely because Claude Code relies on iTerm2-specific protocols (OSC 1337) for image handling, which Ghostty doesn't support. A fallback mechanism (e.g., detecting dropped file paths and auto-reading them as images) would make Claude Code terminal-agnostic.
Related Ghostty issues: ghostty-org/ghostty#9699, ghostty-org/ghostty#11444, ghostty-org/ghostty#11924
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗