summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Duerr <chrisduerr@users.noreply.github.com>2019-03-03 20:25:29 +0000
committerGitHub <noreply@github.com>2019-03-03 20:25:29 +0000
commit1ca729487e56e4f50d83790af4ef60e4f40b398f (patch)
treeeb32f1e360ef8f065f3415a27b0f7ac1cd2103a6
parentde52ddb6c25a6d58cdfaa095ad6ec9abffa6564a (diff)
downloadalacritty-1ca729487e56e4f50d83790af4ef60e4f40b398f.tar.gz
alacritty-1ca729487e56e4f50d83790af4ef60e4f40b398f.zip
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.
-rw-r--r--CHANGELOG.md1
-rw-r--r--INSTALL.md2
-rw-r--r--alacritty.info2
3 files changed, 2 insertions, 3 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index cb5d2334..f6f6d565 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -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
diff --git a/INSTALL.md b/INSTALL.md
index 72aa711c..28cb35ed 100644
--- a/INSTALL.md
+++ b/INSTALL.md
@@ -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
```
diff --git a/alacritty.info b/alacritty.info
index 39fe82cc..6691eef6 100644
--- a/alacritty.info
+++ b/alacritty.info
@@ -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~,