Skip to content

Commit 3883883

Browse files
committed
ncurses is even worse than I thought it was
1 parent ba389d6 commit 3883883

File tree

6 files changed

+8
-5
lines changed

6 files changed

+8
-5
lines changed

docs/changelog.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,9 @@ Detailed list of changes
165165

166166
- macOS: Fix changes to :opt:`macos_titlebar_color` while in full screen not being applied after exiting fullscreen (:iss:`9350`)
167167

168+
- ncurses: Fix ncurses not using dim because it is missing from the sgr property
169+
in terminfo even though it is present in the dim property.
170+
168171

169172
0.45.0 [2025-12-24]
170173
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

kitty/terminfo.h

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

kitty/terminfo.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ def encode_keystring(keybytes: bytes) -> str:
232232
# Set foreground color
233233
'setaf': r'\E[%?%p1%{8}%<%t3%p1%d%e%p1%{16}%<%t9%p1%{8}%-%d%e38;5;%p1%d%;m',
234234
# Set attributes
235-
'sgr': r'%?%p9%t\E(0%e\E(B%;\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;%?%p7%t;8%;m',
235+
'sgr': r'%?%p9%t\E(0%e\E(B%;\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;%?%p7%t;8%;%?%p5%t;2%;m',
236236
# Clear all attributes
237237
'sgr0': r'\E(B\E[m',
238238
# Reset color pair to its original value

terminfo/kitty.termcap

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

terminfo/kitty.terminfo

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

terminfo/x/xterm-kitty

10 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)