Rename KEYC_ESCAPE to KEYC_META.

This commit is contained in:
Nicholas Marriott
2020-05-15 11:24:30 +01:00
parent 2cf967ee67
commit 031d4864a9
7 changed files with 74 additions and 74 deletions

View File

@ -143,7 +143,7 @@ key_string_get_modifiers(const char **string)
break;
case 'M':
case 'm':
modifiers |= KEYC_ESCAPE;
modifiers |= KEYC_META;
break;
case 'S':
case 's':
@ -265,7 +265,7 @@ key_string_lookup_key(key_code key)
/* Fill in the modifiers. */
if (key & KEYC_CTRL)
strlcat(out, "C-", sizeof out);
if (key & KEYC_ESCAPE)
if (key & KEYC_META)
strlcat(out, "M-", sizeof out);
if (key & KEYC_SHIFT)
strlcat(out, "S-", sizeof out);