# HG changeset patch # User Bram Moolenaar # Date 1611233103 -3600 # Node ID c6b9df4c442d504871fb86fdec8257e47c9228bd # Parent ef9695df90ed6c3c094a21910b6edf719f6dd850 patch 8.2.2383: focus escape sequences are not named Commit: https://github.com/vim/vim/commit/ccb47a2899d9f8076dad0f8348c057450febf32b Author: Bram Moolenaar Date: Thu Jan 21 13:36:43 2021 +0100 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 https://github.com/vim/vim/issues/7718) diff --git a/src/misc2.c b/src/misc2.c --- 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 --- 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,