Skip to content

Commit f675f2a

Browse files
committed
EGE/src/ege/global.cpp: 函数 getkey 支持 WM_CHAR 消息。
参见 wysaid/xege#3 。 Signed-off-by: FrankHB <[email protected]>
1 parent 55b2d76 commit f675f2a

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

Diff for: Compatibility.md

+7
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,13 @@ YEGE 以 [misakamm 的 xege](https://github.com/misakamm/xege) 为基础修改,
44

55
# 版本历史
66

7+
## 主分支版本
8+
9+
### API 修改
10+
11+
* 函数 `ege::getkey` 支持 `WM_CHAR` 消息。
12+
* 参见 [wysaid/xege pull request 3](https://github.com/wysaid/xege/pull/3) 。
13+
714
## 19.01
815

916
YEGE 19.01 以 YEGE 14.01 为基础修改。

Diff for: EGE/src/ege/global.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,7 @@ EGEApplication::_get_input(get_input_op op)
287287
case get_input_op::kbhit:
288288
return _peekkey();
289289
case get_input_op::kbmsg:
290-
return _peekallkey(1);
290+
return _peekallkey(3);
291291
}
292292
return 0;
293293
}

0 commit comments

Comments
 (0)