Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork33.7k
Closed
Description
Bug report
Bug description:
TheVK_MAP in_pyrepl/windows_console is incorrectly specifying constants (https://learn.microsoft.com/en-us/windows/win32/inputdev/virtual-key-codes):
VK_MAP:dict[int,str]= {0x23:"end",# VK_END...0x79:"f10",# VK_F10...0x79:"f17",# VK_F17 (DUPLICATED !!!)0x80:"f18",# VK_F18 (should be 0x81)0x81:"f19",# VK_F19(should be 0x82)0x82:"f20",# VK_F20(should be 0x83)}
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 onhttps://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