Skip to content

windows clearing clipboard via osc fails #8319

@theimpostor

Description

@theimpostor

Using alacritty on windows, while ssh'd into a linux machine, if I print the OSC 52 sequence to copy the empty string to the clipboard, alacritty logs a warning and the clipboard is not changed.

❯ echo -e "\x1b]52;c;\a"
[144.139578500s] [WARN ] [alacritty] Unable to store text in clipboard: The parameter is incorrect. (os error 87)

The same sequence works in alacritty in macos (no warnings, clipboard is cleared).

System

OS: Windows 10
Version: alacritty 0.14.0-rc2 (7552ae7)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions