REPL incorrectly maps values for virtual keyboard on Windows #123572
Labels
3.13
bugs and security fixes
3.14
new features, bugs and security fixes
OS-windows
stdlib
Python modules in the Lib dir
type-bug
An unexpected behavior, bug, or error
Bug report
Bug description:
The
VK_MAP
in_pyrepl/windows_console
is incorrectly specifying constants (https://learn.microsoft.com/en-us/windows/win32/inputdev/virtual-key-codes):I assume this is because of a wrong CC. The fix is easy (a feature would be to recognize F21 to F24 which are documented on https://learn.microsoft.com/en-us/windows/win32/inputdev/virtual-key-codes but I'll leave it to someone else).
CPython versions tested on:
CPython main branch
Operating systems tested on:
No response
Linked PRs
The text was updated successfully, but these errors were encountered: