aboutsummaryrefslogtreecommitdiff
path: root/alacritty.info
diff options
context:
space:
mode:
authorKyle Rooker <rookerka@gmail.com>2018-12-12 08:12:59 -0600
committerChristian Duerr <chrisduerr@users.noreply.github.com>2018-12-12 14:12:59 +0000
commit0a73312c3d8299e4ecad166709694fe9278bffc1 (patch)
treedb0cfd08f3d1219dcc92c1ccb06be4493685bc90 /alacritty.info
parent217ad9ec285b4923de1790b0976c8c793039c994 (diff)
downloadalacritty-0a73312c3d8299e4ecad166709694fe9278bffc1.tar.gz
alacritty-0a73312c3d8299e4ecad166709694fe9278bffc1.zip
Fix color issues in ncurses programs
Certain programs like `htop` have problems with the number of color pairs which are specified by the Alacritty terminfo file. By reducing the maximum number of color pairs to the value which is specified by xterm-256color, these issues are resolved. This fixes #1862.
Diffstat (limited to 'alacritty.info')
-rw-r--r--alacritty.info4
1 files changed, 2 insertions, 2 deletions
diff --git a/alacritty.info b/alacritty.info
index 8f65e430..39fe82cc 100644
--- a/alacritty.info
+++ b/alacritty.info
@@ -2,7 +2,7 @@ alacritty|alacritty terminal emulator,
use=alacritty+common,
rs1=\Ec\E]104\007,
ccc,
- colors#0x100, pairs#0x10000,
+ colors#0x100, pairs#0x7FFF,
initc=\E]4;%p1%d;rgb\:%p2%{255}%*%{1000}%/%2.2X/%p3%{255}%*
%{1000}%/%2.2X/%p4%{255}%*%{1000}%/%2.2X\E\\,
oc=\E]104\007,
@@ -15,7 +15,7 @@ alacritty|alacritty terminal emulator,
alacritty-direct|alacritty with direct color indexing,
use=alacritty+common,
RGB,
- colors#0x1000000, pairs#0x10000,
+ colors#0x1000000, pairs#0x7FFF,
initc@, op=\E[39;49m,
setab=\E[%?%p1%{8}%<%t4%p1%d%e48;2;%p1%{65536}%/%d;%p1%{256}
%/%{255}%&%d;%p1%{255}%&%d%;m,