patch 9.1.2092: cannot detect kitty foreground/background color

Commit: 
https://github.com/vim/vim/commit/682f630a41ac9b397b3cb8643b13a1a1cc47812d
Author: Mateo Gjika <[email protected]>
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 <[email protected]>
    Signed-off-by: Christian Brabandt <[email protected]>

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,
 /**/

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/vim_dev/E1vhZdv-0020Do-S2%40256bit.org.

Raspunde prin e-mail lui