Is your feature request related to a problem? Please describe.
I'd like to be able to copy text from a process in a remote session to the clipboard on the local host.
Describe the solution you'd like
OSC52 defines an ANSI character sequence that if recognized by the terminal will transfer the content of the sequence into the clipboard of the system hosting the terminal. See microsoft/terminal#2946 for an implementation in Microsoft Terminal.
This article gives a bit more insight into how osc52 works. I didn't find a canonical spec.
Describe alternatives you've considered
Using a mouse is tedious and often inaccurate. It would be much faster to be able to pipe the content of a process to something that can capture the clipboard.
Is your feature request related to a problem? Please describe.
I'd like to be able to copy text from a process in a remote session to the clipboard on the local host.
Describe the solution you'd like
OSC52 defines an ANSI character sequence that if recognized by the terminal will transfer the content of the sequence into the clipboard of the system hosting the terminal. See microsoft/terminal#2946 for an implementation in Microsoft Terminal.
This article gives a bit more insight into how osc52 works. I didn't find a canonical spec.
Describe alternatives you've considered
Using a mouse is tedious and often inaccurate. It would be much faster to be able to pipe the content of a process to something that can capture the clipboard.