microsoft / vscode

Visual Studio Code
https://code.visualstudio.com
MIT License
163.51k stars 28.98k forks source link

Request for OSC52 escape sequence character support for terminal #193508

Closed ipstone closed 4 months ago

ipstone commented 1 year ago

Description:

I am using Visual Studio Code's remote SSH terminal to work on a remote machine, and I would like to be able to copy text from the terminal to my local system clipboard. However, it seems that the OSC52 escape sequence character is not supported by the remote SSH terminal.

I would like to request support for the OSC52 escape sequence character in the remote SSH terminal, so that I can copy text from the terminal to my local system clipboard.

Alternatively, if there is another way to specify the terminal to use with remote SSH terminal, that supports copying to the system clipboard, please let me know.

Thank you for your attention to this matter.

Tyriar commented 1 year ago

Upstream tracking issue https://github.com/xtermjs/xterm.js/issues/3260

Kas-tle commented 5 months ago

Currently (at least with Windows using tmux with the integrated terminal when hosting a code server on WSL) I can already copy to the system clipboard by holding shift when selecting text.

ipstone commented 4 months ago

Awesome work! vscode team keeps amazing me, thanks! @Tyriar