diff --git a/Compatibility.md b/Compatibility.md index 7bcdd671..494b0765 100644 --- a/Compatibility.md +++ b/Compatibility.md @@ -4,6 +4,13 @@ YEGE 以 [misakamm 的 xege](http://github.com/misakamm/xege) 为基础修改, # 版本历史 +## 主分支版本 + +### API 修改 + +* 函数 `ege::getkey` 支持 `WM_CHAR` 消息。 + * 参见 [wysaid/xege pull request 3](https://github.com/wysaid/xege/pull/3) 。 + ## 19.01 YEGE 19.01 以 YEGE 14.01 为基础修改。 diff --git a/EGE/src/ege/global.cpp b/EGE/src/ege/global.cpp index 334573ea..8a5738e4 100644 --- a/EGE/src/ege/global.cpp +++ b/EGE/src/ege/global.cpp @@ -287,7 +287,7 @@ EGEApplication::_get_input(get_input_op op) case get_input_op::kbhit: return _peekkey(); case get_input_op::kbmsg: - return _peekallkey(1); + return _peekallkey(3); } return 0; }