]> granicus.if.org Git - vim/commitdiff
patch 8.2.2383: focus escape sequences are not named v8.2.2383
authorBram Moolenaar <Bram@vim.org>
Thu, 21 Jan 2021 12:36:43 +0000 (13:36 +0100)
committerBram Moolenaar <Bram@vim.org>
Thu, 21 Jan 2021 12:36:43 +0000 (13:36 +0100)
Problem:    Focus escape sequences are not named in ":set termcap" output.
Solution:   Add the names to the list. (closes #7718)

src/misc2.c
src/version.c

index 52e0499bc8476d154daffc12b7e59253717373a3..5a6d863521b1c636a4b816ef258820f0b8e806f3 100644 (file)
@@ -2531,6 +2531,8 @@ static struct key_name_entry
     {K_CURSORHOLD,     (char_u *)"CursorHold"},
     {K_IGNORE,         (char_u *)"Ignore"},
     {K_COMMAND,                (char_u *)"Cmd"},
+    {K_FOCUSGAINED,    (char_u *)"FocusGained"},
+    {K_FOCUSLOST,      (char_u *)"FocusLost"},
     {0,                        NULL}
     // NOTE: When adding a long name update MAX_KEY_NAME_LEN.
 };
index 2b6f6a88e3292178414cbc957f81be244f30560a..361ae36fc7c992e41a04a65e8e3856388d6471ff 100644 (file)
@@ -750,6 +750,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    2383,
 /**/
     2382,
 /**/