Commit: patch 9.1.2092: cannot detect kitty foreground/background color

0 views
Skip to first unread message

Christian Brabandt

unread,
Jan 18, 2026, 3:46:17 PM (14 hours ago) Jan 18
to vim...@googlegroups.com
patch 9.1.2092: cannot detect kitty foreground/background color

Commit: https://github.com/vim/vim/commit/682f630a41ac9b397b3cb8643b13a1a1cc47812d
Author: Mateo Gjika <10477759...@users.noreply.github.com>
Date: Sun Jan 18 14:12:04 2026 +0000

patch 9.1.2092: cannot detect kitty foreground/background color

Problem: Cannot detect kitty foreground/background color
Solution: Update builtin termcap entries (Mateo Gjika)

closes: #19208

Signed-off-by: Mateo Gjika <10477759...@users.noreply.github.com>
Signed-off-by: Christian Brabandt <c...@256bit.org>

diff --git a/src/term.c b/src/term.c
index 503ec3895..86d570a6d 100644
--- a/src/term.c
+++ b/src/term.c
@@ -641,6 +641,12 @@ static tcap_entry_T builtin_kitty[] = {
// have been used.
{(int)KS_CTE, " [>4;m [=0;1u"},

+ // t_RF request terminal foreground color
+ {(int)KS_RFG, " ]10;? \"},
+
+ // t_RB request terminal background color
+ {(int)KS_RBG, " ]11;? \"},
+
{(int)KS_NAME, NULL} // end marker
};

diff --git a/src/version.c b/src/version.c
index b85579b95..fefbe783e 100644
--- a/src/version.c
+++ b/src/version.c
@@ -734,6 +734,8 @@ static char *(features[]) =

static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 2092,
/**/
2091,
/**/
Reply all
Reply to author
Forward
0 new messages