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

keyboard shortcuts do not work in web terminal #7699

Closed
matifali opened this issue May 26, 2023 · 7 comments
Closed

keyboard shortcuts do not work in web terminal #7699

matifali opened this issue May 26, 2023 · 7 comments
Labels
bug Used to filter all bug issues s2 Broken use cases or features (with a workaround). Only humans may set this. site Area: frontend dashboard

Comments

@matifali
Copy link
Collaborator

I do not have a Mac, but on a Windows machine, it does not work on Brave and Edge.
Please take a look at the screen recording. The ^V and ^M characters appear when I press Ctrl+V and Ctrl+V+Enter

Recording.2023-05-26.180550.mp4

I see the same behavior on Brave and Edge.

Moved from #6732

@matifali matifali added bug site Area: frontend dashboard s2 Broken use cases or features (with a workaround). Only humans may set this. labels May 26, 2023
@matifali matifali added bug Used to filter all bug issues and removed bug:px:needs-triage labels Jun 6, 2023
@github-actions github-actions bot added the stale This issue is like stale bread. label Dec 4, 2023
@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Dec 11, 2023
@matifali matifali reopened this Dec 11, 2023
@matifali matifali removed the stale This issue is like stale bread. label Dec 11, 2023
@BrunoQuaresma
Copy link
Collaborator

I found this:

Then middle-click to paste the text. If you want to use the traditional cut/copy/paste commands, you can't use ctrl-X, ctrl-C, ctrl-V with xterm because those either generate interrupts or are passed through to applications. So you have to have to use ctrl-shift-X/C/V instead when cutting or pasting in the xterm.

@BrunoQuaresma
Copy link
Collaborator

Looks like there are other ways to implement that but kinda hacky xtermjs/xterm.js#2478. Unfortunately, I can't test them because I don't have a Windows machine.

@mtojek
Copy link
Member

mtojek commented Dec 14, 2023

@BrunoQuaresma Do you think that you can leave here a note justifying whether we can fix it now or we'd rather postpone it for later?

@BrunoQuaresma
Copy link
Collaborator

It is a common issue when using Windows or Linux distros and connecting to remote SSH servers since ctrl + C and ctrl + V are terminal/system controls already. We would have to think of a creative solution to workaround this so I would expect more users reporting this issue before a commitment.

@mtojek
Copy link
Member

mtojek commented Dec 14, 2023

@BrunoQuaresma What if we adopt a similar solution to gotty.

It does not seem to be an issue with OS, but rather browsers. Maybe we could enable it for Firefox (clipboard manager)? In other cases, copy-paste could be achieved with mouse selection. Thoughts @matifali ?

EDIT:

This is also an interesting note about gotty:

Now the terminal library is default to xterm, which should support copy&paste on Firefox.
Please reopen if the issue still exist.

@BrunoQuaresma
Copy link
Collaborator

@mtojek it is a good reference but quite old. Now they are using xterm and I see someone had a problem years ago and it was not solved. yudai/gotty#32 (comment)

@kylecarbs
Copy link
Member

Closing for now due to lack of upvotes!

@kylecarbs kylecarbs closed this as not planned Won't fix, can't repro, duplicate, stale Apr 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Used to filter all bug issues s2 Broken use cases or features (with a workaround). Only humans may set this. site Area: frontend dashboard
Projects
None yet
Development

No branches or pull requests

4 participants