vscode-runme icon indicating copy to clipboard operation
vscode-runme copied to clipboard

Add a feature to copy a portion of text from the terminal output

Open brizaldi opened this issue 1 year ago • 2 comments

It would be very useful if we could copy partial content from the terminal output.

Currently, we can only copy using the Copy button provided by the cell UI, but that button will copy all the text. image

brizaldi avatar Mar 12 '24 00:03 brizaldi

Hi @brizaldi! Thanks for filing this issue. So the idea is to "respect" the selection inside the terminal for the copy button?

sourishkrout avatar Mar 13 '24 21:03 sourishkrout

@sourishkrout Yes, but it doesn't have to be through the copy button. It should also be possible to copy using the Ctrl+C shortcut or by behaving like a regular terminal where we can copy by just using right-click.

brizaldi avatar Mar 14 '24 00:03 brizaldi