Disabling Windows Alt-Codes in PDCurses
I was using PDCurses, and noticed that the library specifically defines the Alt-Numpad buttons. When implementing these buttons, however, I found that while using getch()
, once you release the Alt-key it inputs the Alt-code you entered. Is there any way to disable this or use 开发者_开发百科some sort of workaround?
精彩评论