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.
我正在 Windows 7(64 位)上使用 Ruby 1.9.2 中的 FFI-NCurses 编写一个小型文本编辑器。设置键盘模式后,我可以处理功能键。但是,NCurses 不会检测到被按下的箭头键。
我有一个在 Windows 7 上配置为普通美式键盘的多媒体键盘。谷歌搜索显示,一旦我将键盘模式设置为 TRUE,就应该检测到箭头键,但它只是不起作用。
Ruby 绑定是否有问题,或者 Windows (7) 上的 NCurses 是否存在无法检测箭头键的已知问题?