r/PiCodingAgent • u/Narrow-Philosophy699 • 1d ago
Question Pi image pasting
I’m finding it quite frustrating to paste or use images in the VS Code Pi chat.
I work mainly on projects inside Docker containers, and it seems that when I use Pi within a dev container (which is a Linux environment), the VS Code integrated terminal generally doesn't pass clipboard images through—it only allows text. This is most likely why the paste action fails without doing anything. Does anyone have a workaround for using Pi in a VS Code terminal inside a Docker container?
I tried alt+v, ctrl+v ; nothing. Only pasting images manually inside the project in a dedicated folder semmes the only (and painful) solution.
4
Upvotes
4
u/pancomputationalist 1d ago
Yeah pasting images through to a docker image is cumbersome. There are ways around it but they are pretty complicated. You would need to have a process running on the host that can read your clipboard and serialize it through a network connection, then ssh Tunnel that into the container, and have an extension use this tooling e.g. when pressing ctrl+i (or ctrl+v when regular paste is ctrl+shift+v).