feedback: report an unbindable function key as an "Unknown sequence"
Saying "Unbound key" would imply that it could be bound in a nanorc.
This fixes https://savannah.gnu.org/bugs/?61574.
Bug existed in this form since version 2.6.0, commit e0c4f9c5
.
master
parent
b5448615b9
commit
b87722ab2d
src
|
@ -1107,7 +1107,8 @@ int parse_kbinput(WINDOW *win)
|
|||
} else if (keycode == shiftaltdown) {
|
||||
shift_held = TRUE;
|
||||
return KEY_NPAGE;
|
||||
}
|
||||
} else if ((KEY_F0 + 24) < keycode && keycode < (KEY_F0 + 64))
|
||||
return FOREIGN_SEQUENCE;
|
||||
#endif
|
||||
|
||||
#ifdef __linux__
|
||||
|
|
Loading…
Reference in New Issue