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
{{ message }}
Repository navigation
feat: Cmd+V should detect clipboard images and pass them to the terminal process #490
When pasting with Cmd+V in Orca's terminal, the paste handler in TerminalPane.tsx calls readClipboardText() exclusively — image data is silently discarded. This makes it impossible to paste screenshots into tools like Claude Code that support image input (e.g. via chat:imagePaste).
In Warp, Cmd+V natively detects clipboard image data and passes it through. In Orca, users are forced to use workarounds like Karabiner-Elements or Option+V.
Root Cause
/src/renderer/src/components/terminal-pane/TerminalPane.tsx — the onPaste handler:
window.api.ui.readClipboardText()// text-only — image data never reached.then((text)=>{if(text)pane.terminal.paste(text)})
The main process clipboard API (attach-main-window-services.ts) only exposes clipboard:readText for terminal use. There is no clipboard:readImage or clipboard:readItems for the terminal path.
Proposed Fix
Addclipboard:readImage IPC handler in attach-main-window-services.ts (the write-image handler already exists for BrowserPane — read is missing)
UpdateonPaste in TerminalPane.tsx to check e.clipboardData.types for image MIME types first
If image: save to a temp file and write the file path into the terminal (so tools like Claude Code can read it), or send it directly via an OSC escape sequence if the running process supports it
Activity
fix: detect clipboard images on paste and forward to terminal process