Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在使用 PDCurses,并注意到该库专门定义了 Alt-Numpad 按钮。然而,在实现这些按钮时,我发现在使用 时getch(),一旦您释放 Alt 键,它就会输入您输入的 Alt 代码。有什么方法可以禁用此功能或使用某种解决方法?
getch()