You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Image paste via Cmd+V should work reliably for any number of pastes in a session
performable: keybind flag should work on macOS, passing the keypress through to the application when clipboard contains no text (e.g., image only)
Actual Behavior
First 2 image pastes work correctly (shows [Image #N] in Claude Code)
3rd paste and beyond: nothing happens, paste is silently ignored
Adding keybind = performable:super+v=paste_from_clipboard to config has no effect — +show-config output shows default super+v=paste_from_clipboard without the performable: prefix
Restarting Ghostty resets the counter (2 pastes work again)
Reproduction Steps
Open Ghostty on macOS
Start a Claude Code session (claude)
Have an image in clipboard (e.g., screenshot via Shift+Cmd+Ctrl+4, or copy image from browser)
This was suggested in Discussion #10478 but has no effect on macOS. The commenter noted:
"this requires the embedded apprt to also support a synchronous clipboard content check (like GTK does after PR #10089), otherwise clipboardRequest always returns true and the performable flag has no effect. That macOS-side change would be needed to make this work out of the box."
Comparison with Other Terminals
Warp: Image paste via Cmd+V works reliably, unlimited pastes ✅
I have reviewed the FAQ and confirm that my issue is NOT among them.
I have searched the Ghostty repository (both open and closed Discussions and Issues) and confirm this is not a duplicate of an existing issue or discussion.
I have checked the "Preview" tab on all text fields to ensure that everything looks right, and have wrapped all configuration and code in code blocks with a group of three backticks on separate lines.
Issue Description
Image pasting into Claude Code (and likely other terminal apps using clipboard image data) has two issues on macOS:
performable:super+v=paste_from_clipboardkeybind has no effect on macOS — it works on Linux/GTK (per PR gtk: pass through keypress when clipboard has no text #10089) but the macOS AppKit equivalent is not implementedExpected Behavior
performable:keybind flag should work on macOS, passing the keypress through to the application when clipboard contains no text (e.g., image only)Actual Behavior
[Image #N]in Claude Code)keybind = performable:super+v=paste_from_clipboardto config has no effect —+show-configoutput shows defaultsuper+v=paste_from_clipboardwithout theperformable:prefixReproduction Steps
claude)Workaround Attempted
Added to
~/.config/ghostty/config:This was suggested in Discussion #10478 but has no effect on macOS. The commenter noted:
Comparison with Other Terminals
Related Discussions
Ghostty Version
Also tested with Ghostty tip (build 15209) — different issue: escape sequences (
[12621;9u) leak through instead of pasting.OS Version Information
macOS (Darwin 24.6.0, Apple Silicon)
Minimal Ghostty Configuration
I acknowledge that: