开发者

Disabling Windows Alt-Codes in PDCurses

开发者 https://www.devze.com 2023-04-12 18:14 出处:网络
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

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?

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号