anomalyco / anomalyco/opencode
Shift+Insert does not paste in OpenCode CLI inside VS Code terminal
@Hona is already working on this.
Since Aug 9, 2026.
- Dominant language
- TypeScript
- Stars
- 209k
- Forks
- 27.5k
- Avg merge
- 7h 2m
- Merged PRs (30d)
- 384
Description
Description
When running OpenCode CLI inside the VS Code integrated terminal, the Shift+Insert keyboard shortcut does not paste the current clipboard contents.
The same Shift+Insert shortcut works correctly when running OpenCode CLI in Windows Terminal.
Right-click paste works normally in VS Code; the issue is specifically with the Shift+Insert keyboard shortcut.
Expected behavior
Pressing Shift+Insert should paste the current clipboard contents into the OpenCode CLI input, consistent with the behavior in Windows Terminal.
Additional information
Shift+Insert works as expected when OpenCode CLI is run in Windows Terminal, but does not work when the same CLI is run inside the VS Code integrated terminal.
Right-click paste works in both environments, so this appears to be specifically related to handling the Shift+Insert keyboard shortcut in the VS Code terminal environment.
Plugins
No response
OpenCode version
1.18.15
Steps to reproduce
- Open VS Code.
- Open the integrated terminal.
- Start OpenCode CLI.
- Copy some text to the clipboard.
- Focus the OpenCode CLI input.
- Press
Shift+Insert. - Notice that the clipboard contents are not pasted.
Screenshot and/or share link
No response
Operating System
Windows 11
Terminal
vscode-insiders
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.