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.
master
parent
9e3fca4021
commit
5e48c36877
|
@ -520,7 +520,7 @@ int keycode_from_string(const char *keystring)
|
|||
void assign_keyinfo(keystruct *s, const char *keystring, const int keycode)
|
||||
{
|
||||
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));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue