Fix terminfo support for extended capabilities

To make sure all extended capabilities can be queried correctly, it is
necessary to compile the terminfo file using the `-x` flag.

Since Alacritty specified support for the XTerm mouse mode (XM/xm),
using the `-x` flag was not possible until now without breaking programs
like `htop`. By removing this flag, these issues should be resolved.

This fixes https://github.com/jwilm/alacritty/issues/2131.
This commit is contained in:
Christian Duerr 2019-03-03 20:25:29 +00:00 committed by GitHub
parent de52ddb6c2
commit 1ca729487e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 2 additions and 3 deletions

View File

@ -20,6 +20,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Resetting the terminal while in the alt screen will no longer disable scrollback
- Cursor jumping around when leaving alt screen while not in the alt screen
- Text lingering around when resetting while scrolled up in the history
- Terminfo support for extended capabilities
## Version 0.2.9

View File

@ -307,5 +307,5 @@ instead.
To install alacritty's terminfo entry globally:
```sh
sudo tic -e alacritty,alacritty-direct alacritty.info
sudo tic -xe alacritty,alacritty-direct alacritty.info
```

View File

@ -64,8 +64,6 @@ alacritty+common|base fragment for alacritty,
rin=\E[%p1%dT,
rep=%p1%c\E[%p2%{1}%-%db,
rmxx=\E[29m, smxx=\E[9m,
XM=\E[?1006;1000%?%p1%{1}%=%th%el%;,
xm=\E[<%p1%d;%p2%d;%p3%d;%?%p4%tM%em%;,
kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kend=\EOF,
khome=\EOH,
kf1=\EOP, kf10=\E[21~, kf11=\E[23~, kf12=\E[24~,