input: do not enter invalid bytes when holding down both Alt keys
This fixes https://savannah.gnu.org/bugs/?58954.
Bug existed since version 5.1, commit 49231191
.
master
parent
3cb55c8b27
commit
3d0bfb0a00
|
@ -939,7 +939,7 @@ int parse_kbinput(WINDOW *win)
|
|||
keycode == DEL_CODE)
|
||||
return CONTROL_SHIFT_DELETE;
|
||||
#endif
|
||||
else if (!solitary)
|
||||
else if (!solitary && keycode < 0x20)
|
||||
meta_key = TRUE;
|
||||
} else if (key_buffer_len == 0 || *key_buffer == ESC_CODE ||
|
||||
(keycode != 'O' && keycode != '[')) {
|
||||
|
|
Loading…
Reference in New Issue