mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-03-29 07:58:01 -04:00
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:
parent
6259d59b4d
commit
e7c1a93d29
2 changed files with 6 additions and 0 deletions
|
|
@ -56,6 +56,8 @@
|
||||||
* `font-size-adjustment=N[px]` option, letting you configure how much
|
* `font-size-adjustment=N[px]` option, letting you configure how much
|
||||||
to increment/decrement the font size when zooming in or out
|
to increment/decrement the font size when zooming in or out
|
||||||
([#1188][1188]).
|
([#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
|
[1136]: https://codeberg.org/dnkl/foot/issues/1136
|
||||||
[1225]: https://codeberg.org/dnkl/foot/issues/1225
|
[1225]: https://codeberg.org/dnkl/foot/issues/1225
|
||||||
|
|
|
||||||
|
|
@ -28,10 +28,14 @@
|
||||||
it#8,
|
it#8,
|
||||||
lines#24,
|
lines#24,
|
||||||
pairs#0x10000,
|
pairs#0x10000,
|
||||||
|
BD=\E[?2004l,
|
||||||
|
BE=\E[?2004h,
|
||||||
Cr=\E]112\E\\,
|
Cr=\E]112\E\\,
|
||||||
Cs=\E]12;%p1%s\E\\,
|
Cs=\E]12;%p1%s\E\\,
|
||||||
E3=\E[3J,
|
E3=\E[3J,
|
||||||
Ms=\E]52;%p1%s;%p2%s\E\\,
|
Ms=\E]52;%p1%s;%p2%s\E\\,
|
||||||
|
PD=\E[201~,
|
||||||
|
PE=\E[200~,
|
||||||
Se=\E[ q,
|
Se=\E[ q,
|
||||||
Ss=\E[%p1%d q,
|
Ss=\E[%p1%d q,
|
||||||
Sync=\E[?2026%?%p1%{1}%-%tl%eh,
|
Sync=\E[?2026%?%p1%{1}%-%tl%eh,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue