Skip to content
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

Pasting from Windows to Codespaces Terminal doesn't work #120

Closed
2 of 3 tasks
matsonj opened this issue Sep 20, 2023 · 2 comments · Fixed by #121
Closed
2 of 3 tasks

Pasting from Windows to Codespaces Terminal doesn't work #120

matsonj opened this issue Sep 20, 2023 · 2 comments · Fixed by #121
Labels
bug Something isn't working

Comments

@matsonj
Copy link

matsonj commented Sep 20, 2023

When running Harlequin inside a Codespaces Terminal, copy-pasting does not work when moving into and out of the codespace.

for example - the snippet select 1 as test:

  • from windows -> WSL terminal
  • from windows -> WSL terminal, ssh connected to codespace
  • from windows -> WSL terminal, ssh connected to codespace, running harlequin

I've added xsel and xclip to my docker image, but neither appears to do anything. "Out of the box" Windows Terminal running Ubuntu inside WSL copy+paste works seamlessly.

@matsonj
Copy link
Author

matsonj commented Sep 20, 2023

copying inside harlequin works perfectly, for what its worth, its just bringing data from the clipboard into harlequin (in linux codespace) where it fails.

@tconbeer tconbeer added the bug Something isn't working label Sep 20, 2023
@tconbeer tconbeer transferred this issue from tconbeer/harlequin Sep 20, 2023
@tconbeer
Copy link
Owner

ok, so I've fixed paste in my new branch, using the terminals' native Paste message. If ctrl+v doesn't fire that message, right clicking or pressing shift+insert should.

It looks to me like xclip and xsel don't work inside of codespaces, which could be part of the problem. (even after installing those libraries, pyperclip can't seem to locate or use them).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants