Skip to content

Add support for OSC 52 #1169

@halcyon

Description

@halcyon

OSC 52 control code can be used to copy text into the clipboard.
tmux has native support for the OSC 52 sequence. See man tmux https://linux.die.net/man/1/tmux under the set-clipboard setting.

It looks like this feature has been implemented in Gnome Terminal - https://gitlab.gnome.org/GNOME/vte/-/issues/2495

Context

If QTerminal could support OSC 52 it would remove the reliance on xclip or xsel and copying in tmux would work regardless of ssh tunnels. For many years I've utilized X11 forwarding via SSH to provide clipboard access to my editor running on a remote system in the terminal. Now that I've switched to Wayland, this no longer seems to be a viable option.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions