mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-16 22:05:21 -05:00
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:
parent
a99434929c
commit
a34ae5d527
2 changed files with 8 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -43,7 +43,7 @@
|
|||
Ss=\E[%p1%d q,
|
||||
Sync=\E[?2026%?%p1%{1}%-%tl%eh%;,
|
||||
TS=\E]2;,
|
||||
XM=\E[?1006;1004;1000%?%p1%{1}%=%th%el%;,
|
||||
XM=\E[?1006;1000%?%p1%{1}%=%th%el%;,
|
||||
XR=\E[>0q,
|
||||
acsc=``aaffggiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
|
||||
bel=^G,
|
||||
|
|
@ -75,6 +75,8 @@
|
|||
ed=\E[J,
|
||||
el1=\E[1K,
|
||||
el=\E[K,
|
||||
fd=\E[?1004l,
|
||||
fe=\E[?1004h,
|
||||
flash=\E]555\E\\,
|
||||
fsl=\E\\,
|
||||
home=\E[H,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue