terminfo: add fe/fd (focus enable/disable)

These are new capabilities, recently added to ncurses. Applications
are supposed to use these, instead of XM (to enable focus events). So,
remove "CSI ? 1004h" from XM.
This commit is contained in:
Daniel Eklöf 2024-03-29 11:40:15 +01:00
parent a99434929c
commit a34ae5d527
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
2 changed files with 8 additions and 1 deletions

View file

@ -69,6 +69,8 @@
* Rectangular edit functions: `DECCARA`, `DECRARA`, `DECCRA`, `DECFRA`
and `DECERA` ([#1633][1633]).
* `Rect` capability to terminfo.
* `fe` and `fd` (focus in/out enable/disable) capabilities to
terminfo.
[1348]: https://codeberg.org/dnkl/foot/issues/1348
[1633]: https://codeberg.org/dnkl/foot/issues/1633
@ -114,6 +116,9 @@
last sixel ([#chafa-192][chafa-192]).
* Sixel: trailing, fully transparent rows are now trimmed
([#chafa-192][chafa-192]).
* `1004` (enable focus in/out events) removed from the `XM` terminfo
capability. To enable focus in/out, use the `fe` and `fd`
capabilities instead.
[1526]: https://codeberg.org/dnkl/foot/issues/1526
[1528]: https://codeberg.org/dnkl/foot/issues/1528