summaryrefslogtreecommitdiff
path: root/src/misc2.c
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 /src/misc2.c
parentb1f2857096aabe9a11e576005d08fc4e53781698 (diff)
downloadvim-git-ccb47a2899d9f8076dad0f8348c057450febf32b.tar.gz
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)
Diffstat (limited to 'src/misc2.c')
-rw-r--r--src/misc2.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/misc2.c b/src/misc2.c
index 52e0499bc..5a6d86352 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.
};