Skip to content

Indicate support for OSC 52 in the devices attributes report #19017

@j4james

Description

@j4james

Description of the new feature

I've mentioned this as a possibility before, but I think it's time to consider it more seriously now. The idea is that we would add the extension parameter 52 to our devices attributes report, to indicate to applications that we support copying to the clipboard with OSC 52.

I've been discussing the idea with a number of other terminal devs recently, and five have already agreed with the proposal. I'm going to continue promoting the idea with other terminals and apps, but if Windows Terminal can be persuaded to sign up, I think that would already be enough of a consensus for everyone to start using it.

Proposed technical implementation details

We need to get PR #18949 merged first, so both OpenConsole and Windows Terminal have OSC 52 support, but then it's just a simple matter of adding 52 to the string here:

_ReturnCsiResponse(L"?61;4;6;7;14;21;22;23;24;28;32;42c");

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area-VTVirtual Terminal sequence supportIssue-TaskIt's a feature request, but it doesn't really need a major design.Needs-Tag-FixDoesn't match tag requirementsProduct-ConhostFor issues in the Console codebase

    Projects

    Status

    To Cherry Pick

    Status

    To Cherry Pick

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions