You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
How often does it reproduce? Is there a required condition?
Every time!
What is the expected behavior?
key.name should contain the name of the function key (e.g. "f1"). See Additional information.
What do you see instead?
key.name contains "undefined" (as a string / not undefined). See Additional information.
Output after pressing Alt + F3
Additional information
Tested key combinations (expected/current result)
Key combo
Expected key.name
Current key.name
Matches expectation?
Alt + F1
"f1"
???
???
Alt + F2
"f2"
???
???
Alt + F3
"f3"
"undefined"
Alt + F4
"f4"
???
???
Alt + F5
"f5"
"f5"
Alt + F6
"f6"
???
???
Alt + F7
"f7"
"f7"
Alt + F8
"f8"
???
???
Alt + F9
"f9"
"f9"
Alt + F10
"f10"
"f10"
Alt + F11
"f11"
???
???
Alt + F12
"f12"
"f12"
Alt + Shift + F1
"f1"
"undefined"
Alt + Shift + F2
"f2"
???
???
Alt + Shift + F3
"f3"
"undefined"
Alt + Shift + F4
"f4"
"undefined"
Alt + Shift + F5
"f5"
"f5"
Alt + Shift + F6
"f6"
???
???
Alt + Shift + F7
"f7"
"f7"
Alt + Shift + F8
"f8"
"f8"
Alt + Shift + F9
"f9"
"f9"
Alt + Shift + F10
"f10"
???
???
Alt + Shift + F11
"f11"
???
???
Alt + Shift + F12
"f12"
"f12"
Ctrl + F1
"f1"
"undefined"
Ctrl + F2
"f2"
???
???
Ctrl + F3
"f3"
"undefined"
Ctrl + F4
"f4"
"undefined"
Ctrl + F5
"f5"
"f5"
Ctrl + F6
"f6"
"f6"
Ctrl + F7
"f7"
"f7"
Ctrl + F8
"f8"
"f8"
Ctrl + F9
"f9"
"f9"
Ctrl + F10
"f10"
"f10"
Ctrl + F11
"11"
???
???
Ctrl + F12
"f12"
"f12"
Ctrl + Shift + F1
"f1"
"undefined"
Ctrl + Shift + F2
"f2"
???
???
Ctrl + Shift + F3
"f3"
"undefined"
Ctrl + Shift + F4
"f4"
"undefined"
Ctrl + Shift + F5
"f5"
"f5"
Ctrl + Shift + F6
"f6"
"f6"
Ctrl + Shift + F7
"f7"
"f7"
Ctrl + Shift + F8
"f8"
"f8"
Ctrl + Shift + F9
"f9"
"f9"
Ctrl + Shift + F10
"f10"
???
???
Ctrl + Shift + F11
"11"
???
???
Ctrl + Shift + F12
"f12"
"f12"
The key combinations where the 3rd and 4th columns contain ??? could not be tested cause they were already bound to something else like Alt + F4 which closes the application.
The text was updated successfully, but these errors were encountered:
elie-g
changed the title
Readline: ALT + Function keys (e.g. F1) return undefined key name
Readline: Function keys (e.g. F1) return undefined key name
Sep 18, 2020
elie-g
changed the title
Readline: Function keys (e.g. F1) return undefined key name
Readline: Function keys (e.g. F1) return "undefined" key name
Sep 18, 2020
What steps will reproduce the bug?
How often does it reproduce? Is there a required condition?
Every time!
What is the expected behavior?
key.name
should contain the name of the function key (e.g."f1"
).See Additional information.
What do you see instead?
key.name
contains"undefined"
(as a string / notundefined
).See Additional information.
Output after pressing Alt + F3
Additional information
Tested key combinations (expected/current result)
key.name
key.name
expectation?
"f1"
"f2"
"f3"
"undefined"
"f4"
"f5"
"f5"
"f6"
"f7"
"f7"
"f8"
"f9"
"f9"
"f10"
"f10"
"f11"
"f12"
"f12"
"f1"
"undefined"
"f2"
"f3"
"undefined"
"f4"
"undefined"
"f5"
"f5"
"f6"
"f7"
"f7"
"f8"
"f8"
"f9"
"f9"
"f10"
"f11"
"f12"
"f12"
"f1"
"undefined"
"f2"
"f3"
"undefined"
"f4"
"undefined"
"f5"
"f5"
"f6"
"f6"
"f7"
"f7"
"f8"
"f8"
"f9"
"f9"
"f10"
"f10"
"11"
"f12"
"f12"
"f1"
"undefined"
"f2"
"f3"
"undefined"
"f4"
"undefined"
"f5"
"f5"
"f6"
"f6"
"f7"
"f7"
"f8"
"f8"
"f9"
"f9"
"f10"
"11"
"f12"
"f12"
The key combinations where the 3rd and 4th columns contain ??? could not be tested cause they were already bound to something else like Alt + F4 which closes the application.
The text was updated successfully, but these errors were encountered: