Implement OSC52 in ConPTY #24012

Closed
opened 2026-01-31 08:58:59 +00:00 by claunia · 1 comment
Owner

Originally created by @unxed on GitHub (Jan 26, 2026).

Description of the new feature

It would be great if ConPTY could convert clipboard API calls to OSC52 esc sequences (+ bracketed paste, as not all terminals support OSC52 in clipboard read mode). Then, in apps like Far Manager, the clipboard would work even when connected via SSH to a Windows machine.

Proposed technical implementation details

No response

Originally created by @unxed on GitHub (Jan 26, 2026). ### Description of the new feature It would be great if ConPTY could convert clipboard API calls to OSC52 esc sequences (+ bracketed paste, as not all terminals support OSC52 in clipboard read mode). Then, in apps like Far Manager, the clipboard would work even when connected via SSH to a Windows machine. ### Proposed technical implementation details _No response_
claunia added the Issue-FeatureNeeds-TriageNeeds-Tag-Fix labels 2026-01-31 08:58:59 +00:00
Author
Owner

@DHowett commented on GitHub (Jan 26, 2026):

I'm sorry. Since the console host is not consulted during OpenClipboard, and we have no ability to intercept that call and send it through the console host, it's broadly not going to be possible for us to do that.

@DHowett commented on GitHub (Jan 26, 2026): I'm sorry. Since the console host is not consulted during `OpenClipboard`, and we have no ability to _intercept_ that call and send it through the console host, it's broadly not going to be possible for us to do that.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#24012