https://bugs.kde.org/show_bug.cgi?id=89299

--- Comment #70 from Andreas Nordal <andreas_norda...@hotmail.com> ---
> Do you know if there’s a way to ask the program if it supports bracketed 
> paste?
The program tells the terminal:

    printf "\e[?2004h"  # Enable bracketed paste
    printf "\e[?2004l"  # Disable bracketed paste

It's initially off (because the terminal can't assume the program supports it).
Konsole apparently understands this (whereas weston-terminal does not).
I can verify this by running those commands in bash (which doesn't enable it
after every command, at least by default).

Apropos terminal support:
> Bracketed-paste isn't a Konsole feature, it's a BASH feature
It's necessarily a protocol between the two: Something has to bracket the
paste, and it's the terminal (that implements pasting) that has a chance to
distinguish it from the enter key.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to