Skip to content

Commit

Permalink
EGE/src/ege/global.cpp: 函数 getkey 支持 WM_CHAR 消息。
Browse files Browse the repository at this point in the history
参见 wysaid/xege#3 。

Signed-off-by: FrankHB <[email protected]>
  • Loading branch information
FrankHB committed Apr 14, 2020
1 parent 55b2d76 commit 058b240
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 7 additions & 0 deletions Compatibility.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,13 @@ YEGE 以 [misakamm 的 xege](https://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 为基础修改。
Expand Down
2 changes: 1 addition & 1 deletion EGE/src/ege/global.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 058b240

Please sign in to comment.