Skip to content

Text containing ANSI escape sequences is not handled correctly, causing distorted display #207

@satler-git

Description

@satler-git

Image

When pasting text that includes ANSI escape codes into clipse, those codes are not escaped or stripped, resulting in garbled or distorted output in the terminal.

To reproduce

clipse --listen-shell & echo -e "\e[?1049lHogehoge" | wl-copy clipse
~ ❯ clipse -v clipse v1.1.0 ~ ❯ wl-copy -v wl-clipboard 2.2.1 Copyright (C) 2018-2023 Sergey Bugaev License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>. This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. 

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions