patch 8.2.2383: focus escape sequences are not named
Problem: Focus escape sequences are not named in ":set termcap" output.
Solution: Add the names to the list. (closes #7718)
diff --git a/src/misc2.c b/src/misc2.c
index 52e0499..5a6d863 100644
--- a/src/misc2.c
+++ b/src/misc2.c
@@ -2531,6 +2531,8 @@
{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.
};
diff --git a/src/version.c b/src/version.c
index 2b6f6a8..361ae36 100644
--- a/src/version.c
+++ b/src/version.c
@@ -751,6 +751,8 @@
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 2383,
+/**/
2382,
/**/
2381,