terminfo: add entries for bracketed paste

Ncurses added these in 2022-12-24, but they have been used/supported
by vim since 2017.

* BE - Bracketed paste Enable
* BD - Bracketed paste Disable
* PE - Paste Enable (i.e. "begin")
* PD - Paste Disable (i.e. "end")
This commit is contained in:
Daniel Eklöf 2023-01-01 10:22:54 +01:00
parent 6259d59b4d
commit e7c1a93d29
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
2 changed files with 6 additions and 0 deletions

View file

@ -56,6 +56,8 @@
* `font-size-adjustment=N[px]` option, letting you configure how much
to increment/decrement the font size when zooming in or out
([#1188][1188]).
* Bracketed paste terminfo entries (`BD`, `BE`, `PD` and `PE`, added
to ncurses in 2022-12-24). Vim makes use of these.
[1136]: https://codeberg.org/dnkl/foot/issues/1136
[1225]: https://codeberg.org/dnkl/foot/issues/1225

View file

@ -28,10 +28,14 @@
it#8,
lines#24,
pairs#0x10000,
BD=\E[?2004l,
BE=\E[?2004h,
Cr=\E]112\E\\,
Cs=\E]12;%p1%s\E\\,
E3=\E[3J,
Ms=\E]52;%p1%s;%p2%s\E\\,
PD=\E[201~,
PE=\E[200~,
Se=\E[ q,
Ss=\E[%p1%d q,
Sync=\E[?2026%?%p1%{1}%-%tl%eh,