
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.
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