
June 29, 2005
1:11 p.m.
Darryl Dixon wrote:
Microsoft support capturing extended characters via _getch, but it requires making a second call to getch() if one of the 'magic' returns is encountered in the first call (0x00 or 0xE0).
so why not do that in your python code?
The relevant chunk of code in Python that would probably need to be changed to support this appears to be in msvcrtmodule.c:
if you change msvcrt, you'll break all the programs that uses getch() in the prescribed way... </F>