Mercurial > vim
changeset 23683:c6b9df4c442d v8.2.2383
patch 8.2.2383: focus escape sequences are not named
Commit: https://github.com/vim/vim/commit/ccb47a2899d9f8076dad0f8348c057450febf32b
Author: Bram Moolenaar <Bram@vim.org>
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)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Thu, 21 Jan 2021 13:45:03 +0100 |
parents | ef9695df90ed |
children | 6d57492e46b7 |
files | src/misc2.c src/version.c |
diffstat | 2 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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. };