Understand Escape as another name for Esc

This allows us to remove special-case handling of Esc in
forward_modified_utf8(), which was always sending "<Esc>" to nvim even
when there were modifiers present.

Closes #12584
This commit is contained in:
James McCoy
2020-07-03 23:02:02 -04:00
parent dd48198e62
commit e62beab719
2 changed files with 1 additions and 3 deletions

View File

@@ -156,6 +156,7 @@ static const struct key_name_entry {
{ K_BS, "BS" },
{ K_BS, "BackSpace" }, // Alternative name
{ ESC, "Esc" },
{ ESC, "Escape" }, // Alternative name
{ CSI, "CSI" },
{ K_CSI, "xCSI" },
{ '|', "Bar" },