Merge branch 'terminfo-kmous-xm'

This commit is contained in:
Daniel Eklöf 2021-08-06 22:35:03 +02:00
commit a3cd8ebf3c
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
2 changed files with 5 additions and 7 deletions

View file

@ -41,6 +41,7 @@
of box drawing characters rendered by foot itself (rather than using
font glyphs) (https://codeberg.org/dnkl/foot/issues/474).
* `ich1=\E[@` to terminfo.
* `XM`+`xm` to terminfo.
### Changed
@ -52,6 +53,7 @@
after closing the PTY, instead of waiting 2 seconds.
* Foot now sends `SIGTERM`/`SIGKILL` to the client applications process group,
instead of just to the client applications process.
* `kmous` terminfo capability from `\E[M` to `\E[<`.
### Deprecated

View file

@ -36,6 +36,7 @@ foot+base|foot base fragment,
Se=\E[ q,
Ss=\E[%p1%d q,
Sync=\EP=%p1%ds\E\\,
XM=\E[?1006;1000%?%p1%{1}%=%th%el%;,
acsc=``aaffggiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
bel=^G,
blink=\E[5m,
@ -225,7 +226,7 @@ foot+base|foot base fragment,
khome=\EOH,
kich1=\E[2~,
kind=\E[1;2B,
kmous=\E[M,
kmous=\E[<,
knp=\E[6~,
kp5=\EOE,
kpADD=\EOk,
@ -278,12 +279,7 @@ foot+base|foot base fragment,
u8=\E[?%[;0123456789]c,
u9=\E[c,
vpa=\E[%i%p1%dd,
xm=\E[<%i%p3%d;%p1%d;%p2%d;%?%p4%tM%em%;,
# XM tells ncurses how to initialize the mouse. The xterm terminfo
# uses this to enable SGR (1006h). However, doing this also requirese
# kmous=\E[<. But, ncurses *also* disables the mouse _completely_ if
# kmous != \E[M (unless the TERM name contains "xterm"...)
# XT,
# AX,
# XM=\E[?1006;1000%?%p1%{1}%=%th%el%;,
# xm=\E[<%p1%d;%p2%d;%p3%d;%?%p4%tM%em%;,