aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2023-01-01 09:22:54 +0000
committerDaniel Eklöf <daniel@ekloef.se>2023-01-01 14:07:02 +0000
commite7c1a93d29f6e6d3962d8444834a8b90f367170d (patch)
tree519783b91aecf2a86f65546845ed9cccb04558de
parentconfig: change default grapheme-width-method from wcswidth to double-width (diff)
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")
-rw-r--r--CHANGELOG.md2
-rw-r--r--foot.info4
2 files changed, 6 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 4aadd7bc..f10f2b75 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -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
diff --git a/foot.info b/foot.info
index f4030b22..33769278 100644
--- a/foot.info
+++ b/foot.info
@@ -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,