summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2021-01-21 13:36:43 +0100
committerBram Moolenaar <Bram@vim.org>2021-01-21 13:36:43 +0100
commitccb47a2899d9f8076dad0f8348c057450febf32b (patch)
tree07b3583d296787cce1949774ea88f49d63362034
parentb1f2857096aabe9a11e576005d08fc4e53781698 (diff)
patch 8.2.2383: focus escape sequences are not namedv8.2.2383
Problem: Focus escape sequences are not named in ":set termcap" output. Solution: Add the names to the list. (closes #7718)
-rw-r--r--src/misc2.c2
-rw-r--r--src/version.c2
2 files changed, 4 insertions, 0 deletions
diff --git a/src/misc2.c b/src/misc2.c
index 52e0499bc8..5a6d863521 100644
--- a/src/misc2.c
+++ b/src/misc2.c
@@ -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.
};
diff --git a/src/version.c b/src/version.c
index 2b6f6a88e3..361ae36fc7 100644
--- a/src/version.c
+++ b/src/version.c
@@ -751,6 +751,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 2383,
+/**/
2382,
/**/
2381,