GeezerVison is showing github.com — Windows & Ubuntu: impossible to paste API key after /connect (Ctrl-V / Ctrl-Shift-V / right-click all fail, no hints) · Issue #9922 · anomalyco/opencode
Windows & Ubuntu: impossible to paste API key after /connect (Ctrl-V / Ctrl-Shift-V / right-click all fail, no hints) #9922DescriptionDescription
In Windows and Ubuntu, after using /connect, entering the API key here is really difficult. Ctrl+V doesn't work, Ctrl+Shift+V doesn't work either, right-clicking with the mouse doesn't work, and there are no prompt instructions...
Plugins
No response
OpenCode version
lastest
Steps to reproduce
No response
Screenshot and/or share link
No response
Operating System
No response
Terminal
No response Reacted by Rafael Oliveira, Mudit Jain, wfjack and yecz2024 Reacted by Tomas M. Activitygithub-actions commented on Jan 22, 2026 This issue might be a duplicate of existing issues. Please check:
All of these issues report similar paste functionality problems on Windows and Linux systems where Ctrl+V, Ctrl+Shift+V, and right-click paste don't work.
Feel free to ignore if your specific case differs from these. mtomas7 commented on Feb 23, 2026 it looks to me this problem affects not only API keys, but everything. At the v1.2.10 the problem is still unresolved in Linux (I'm using Mint 22.3).
First, regular shortcuts, like CTRL+V or CTRL+SHIFT+V do not work for copying or pasting. On reddit I found infor that worked; CTRL+INSERT to copy and SHIFT+INSERT to paste, but...
I tried regular Terminal and Terminator, but it is the same behavior:
Selecting the text in the terminal produces the Tooltip "Copied to clipboard", but in fact it is not copied. If I would click SHIFT+INSERT, I would not get the latest copied text, but some text I copied in another application. So it looks that pasting with SHIFT+INSERT works, but copying by mouse selection or CTRL+INSERT does not work. privateuser917 commented on Feb 24, 2026 I find if I right click enough times it will sometimes show me a right click menu where I can paste. Ctrl+V, Ctrl+Shift+V, etc does not work. Only the right click if I keep clicking over and over and over. I'm on Fedora 43 with Wayland. Reacted by Harold C., Akbar Nur Pribadi and Liao Weiheng besseddrest commented on Feb 28, 2026
I find if I right click enough times it will sometimes show me a right click menu where I can paste. Ctrl+V, Ctrl+Shift+V, etc does not work. Only the right click if I keep clicking over and over and over. I'm on Fedora 43 with Wayland.
ah, the tried and true "Sometimes it probably works, definitely at random times, I think"
loll cheers, just sounds like a funny solution rafael-lua commented on Mar 15, 2026 Same issue in WSL2. The only way mine works is shift + left click, for some reason. muditjai commented on Mar 17, 2026 Same issue here. How are we supposed to even start using opencode with API keys if we can't paste them? I won't type that long string. AlecBlance commented on Apr 12, 2026 I thought I was just being dumb, but I really can't paste zinthose commented on Apr 18, 2026 I can paste fine. It's the submission that's failing to work for me. WSL terminal I had to Ctrl+Enter which also triggered full screen worked. KVSocial commented on Apr 24, 2026 same here on Ubuntu CLI.. so far 'going to try out opencode' lol not gonna be typing API keys manually. removed bugSomething isn't working opentuiThis relates to changes in v1.0, now that opencode uses opentui on May 3, 2026shyamdokka commented on May 12, 2026 You can use Ctrl + Shift + V to paste, but only if it is enabled in the Command Prompt properties.
To enable it:
- Right-click the title bar of the Command Prompt window
- Select Properties
- Check the box labeled “Use Ctrl+Shift+C/V as Copy/Paste”
Reacted by MubashirAziz1, Idris Jan Mohammad, aldous109, gustav2704, Isuru Akalanka, CyKyCom and mohdalsalmi Obafemi-Desmond commented on May 15, 2026 On windows inside terminal in Antigravity, i was able to paste after several failed attempts in PowerShell. Dysan102000 commented on May 22, 2026 Try the pressing the scroll button (middle) if you have one. This pasted my clipboard text. github-actions commented on Jul 22, 2026 To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one. MarchGe commented on Aug 4, 2026 我的小乖乖啊,我发现了,要按住 Shift + 右键 才能贴进去。
My baby, I found the truth, please press Shift, then right click.
😀 Reacted by Saepulfariz, rey0746, IAmTomaton, Kirill Lapkovskiy, dwdwdwa1wz and Diego Riquelme Reacted by Toan Pham, Rebel, Ivan Kazakov, MrDoodler007 and Diego Riquelme Reacted by IAmTomaton, Brian Smith and Diego Riquelme
MetadataMetadataDevelopmentNo branches or pull requestsIssue actions
|