Unable to paste to terminal
See original GitHub issueOS: Ubuntu 19.10, x86_64, code-server
is running in Docker container
Browser: Firefox 74
Version: latest from Docker, pulled today
- I’ve got a command I want to execute in clipboard
2a. I press Ctrl+Shift+V, just as in VS Code terminal, it doesn’t work
2b. I try right-clicking the terminal, I get this:
As you can see, no
Paste
option 2c. For last try I pressed Ctrl+V, and I got^V
, as usual. - In none of these cases command is pasted.
Issue Analytics
- State:
- Created 4 years ago
- Comments:8 (4 by maintainers)
Top Results From Across the Web
Copy and paste doesn't work in the terminal - Ask Ubuntu
Mark the text, that you want to paste by pressing the left mouse button and move the mouse. · Press shift + ctrl...
Read more >How to Enable Copy-Paste in the Windows Command Prompt
Go to “Options” and check “Use Ctrl+Shift+C/V as Copy/Paste” in “Edit Options.”.
Read more >Unable to paste to terminal #1402 - coder/code-server - GitHub
I've got a command I want to execute in clipboard 2a. I press Ctrl+Shift+V, just as in VS Code terminal, it doesn't work...
Read more >Unable to copy text in terminal window using shortcut key Ctrl ...
Open Developer PowerShell in Visual Studio. · Select some text. · Press Ctrl+Ins to copy. · Press Shift+Ins to paste. I expected that...
Read more >Why doesn't copy and paste work in the terminal? - Quora
Copying and Pasting inside a terminal is different from that to in normal OS. You have to use Ctrl+Shift+C for copy and Ctrl+Shift+V...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Yeah, it’s a bit of a mess on Firefox.
Firefox doesn’t support the clipboard API so it’s not possible to do anything but a native paste (which is why there’s no right-click menu for pasting).
Unfortunately while Firefox will perform a native paste with
Ctrl+v
, that keybinding already has a different assignment in the terminal so it can’t be used.Normally
Ctrl+Shift+V
would also perform a native paste but in Firefox that only works incontenteditable=true
elements for some reason, and the terminal doesn’t use that (it probably should though).Shift+Insert
does usually perform a native paste in Firefox though so that might work for you.I’ll go ahead and close this in favor of #1106. I’ll edit it a little to reflect better the current situation.