aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CHANGELOG.md6
-rw-r--r--alacritty.info4
2 files changed, 8 insertions, 2 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 3a27cc8a..a8f44a52 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -4,6 +4,12 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
+## [Unreleased]
+
+### Fixed
+
+- Fix color issue in ncurses programs by updating terminfo pairs from 0x10000 to 0x7FFF
+
## Version 0.2.4
### Added
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,