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

(Question) How to copy the out messages from the console window ? #319

Open
yhm-amber opened this issue Nov 14, 2023 · 1 comment
Open
Labels
feature New feature or request

Comments

@yhm-amber
Copy link

The Ctrl-C will make a ^C in console means cancel, and the Ctrl-Shift-C is same as F12, and there's also not a COPY in the right click.

So, how can I make a copy from such console ?

@georgestagg
Copy link
Member

It looks like this is a design choice in xterm.js in that it does not automatically set up handlers for Copy/Paste[1]. Instead, it is up to the application to implement Copy/Paste functionality. So, we will need to add some code into the webR Demo app to handle the Ctrl-Shift-C/V shortcuts.

In the meantime, there is a suggestion that Ctrl-Insert and Shift-Insert might work, depending on your browser.

[1] xtermjs/xterm.js#2478

@georgestagg georgestagg added the feature New feature or request label Nov 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants