-
Notifications
You must be signed in to change notification settings - Fork 5.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to paste to terminal #1402
Comments
Maybe this's related to #1106, since I use http to connect to editor: |
Updated container config, accessing as |
I checked, it works okay in Chrome, but doesn't in Firefox. |
Hm, I thought firefox worked as well. Any ideas @code-asher ? If it doesn't work in Firefox, it might not be a bad idea to make a table for features available in each browser. |
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 in `contenteditable=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.
|
@code-asher a solution for me was clicking on the mouse wheel, it performs native paste in FF |
Oh yeah that's great; I'd forgotten about that.
|
I'll go ahead and close this in favor of #1106. I'll edit it a little to reflect better the current situation. |
OS: Ubuntu 19.10, x86_64,
code-server
is running in Docker containerBrowser: Firefox 74
Version: latest from Docker, pulled today
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
option2c. For last try I pressed Ctrl+V, and I got
^V
, as usual.The text was updated successfully, but these errors were encountered: