ncurses appears to have introduced capabilities for bracketed paste.
>From ncurses NEWS:

> 20221224
>    [...]
>      + add/use bracketed+paste to help identify terminals supporting this
>        xterm feature (prompted by discussion with Bram Moolenaar) -TD

They are: BD and BE (Disable/Enable bracketed paste) and PS, PE
(Start/End pasted text):

> BD=\E[?2004l, BE=\E[?2004h, PE=\E[201~, PS=\E[200~,

Vim recognises  them (see
https://github.com/vim/vim/commit/7b8db111e819bcb07cff6fc451584b0e3e0a49fd).
I think it would be a
good idea for readline to use them as well.


regards

Hans

--
Hans Lub +31 (0)6 14818149         PGP key
Dolomieten 74, NL 3524 VH Utrecht  [email protected]

Reply via email to