aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2021-12-26 18:43:47 +0000
committerDaniel Eklöf <daniel@ekloef.se>2024-03-07 15:25:02 +0000
commitaac24bfa1b3779c1851bd4dcbfbf8266d16634dc (patch)
treeb08e06a1930673cd8bad02a43c68481b22f9bdd7
parentvt: DECALN: erase sixels, reset margins, home the cursor (diff)
foot.info: add non-standard capability ‘Rect’ (used by tmux)
This tells tmux it can use DECFRA to erase rectangular regions.
-rw-r--r--CHANGELOG.md1
-rw-r--r--foot.info1
2 files changed, 2 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 0d11f3ba..9e48118b 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -683,6 +683,7 @@
decoration buttons to the compositor capabilities ([#1061][1061]).
* Rectangular edit functions: `DECCARA`, `DECRARA`, `DECCRA`, `DECFRA`
and `DECERA`.
+* `Rect` capability to terminfo.
[1058]: https://codeberg.org/dnkl/foot/issues/1058
diff --git a/foot.info b/foot.info
index 3bab3266..319d0781 100644
--- a/foot.info
+++ b/foot.info
@@ -38,6 +38,7 @@
PE=\E[201~,
PS=\E[200~,
RV=\E[>c,
+ Rect=\E[%p1%d;%p2%d;%p3%d;%p4%d;%p5%d$x,
Se=\E[ q,
Ss=\E[%p1%d q,
Sync=\E[?2026%?%p1%{1}%-%tl%eh%;,