rcfile: do set the meta flag for plain <Meta+ASCII> combinations
The meta flag needs to be suppressed only for the self-defined <Meta+arrow> key codes. This fixes https://savannah.gnu.org/bugs/?57643. Bug existed since commit 5130c35b from a few hours ago.
Этот коммит содержится в:
родитель
9e3fca4021
Коммит
5e48c36877
@ -520,7 +520,7 @@ int keycode_from_string(const char *keystring)
|
|||||||
void assign_keyinfo(keystruct *s, const char *keystring, const int keycode)
|
void assign_keyinfo(keystruct *s, const char *keystring, const int keycode)
|
||||||
{
|
{
|
||||||
s->keystr = keystring;
|
s->keystr = keystring;
|
||||||
s->meta = (keystring[0] == 'M' && keycode == 0);
|
s->meta = (keystring[0] == 'M' && keycode < 0x7F);
|
||||||
s->keycode = (keycode ? keycode : keycode_from_string(keystring));
|
s->keycode = (keycode ? keycode : keycode_from_string(keystring));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user