From: Mateo Gjika <104777599+mateoxh@users.noreply.github.com> Date: Sun, 18 Jan 2026 14:12:04 +0000 (+0000) Subject: patch 9.1.2092: cannot detect kitty foreground/background color X-Git-Tag: v9.1.2092^0 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=682f630a41ac9b397b3cb8643b13a1a1cc47812d;p=thirdparty%2Fvim.git 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 <104777599+mateoxh@users.noreply.github.com> Signed-off-by: Christian Brabandt --- diff --git a/src/term.c b/src/term.c index 503ec38955..86d570a6df 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, "\033[>4;m\033[=0;1u"}, + // t_RF request terminal foreground color + {(int)KS_RFG, "\033]10;?\033\\"}, + + // t_RB request terminal background color + {(int)KS_RBG, "\033]11;?\033\\"}, + {(int)KS_NAME, NULL} // end marker }; diff --git a/src/version.c b/src/version.c index b85579b95d..fefbe783e2 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, /**/