Compare commits
1 Commits
75d894b1bd
...
chuvok-fix
| Author | SHA1 | Date | |
|---|---|---|---|
| df7ebd6973 |
2
tim.h
2
tim.h
@@ -818,7 +818,7 @@ static void read_event(int timeout_ms) {
|
|||||||
// received input
|
// received input
|
||||||
INPUT_RECORD rec = {0};
|
INPUT_RECORD rec = {0};
|
||||||
DWORD n = 0;
|
DWORD n = 0;
|
||||||
ReadConsoleInput(h, &rec, 1, &n);
|
ReadConsoleInputW(h, &rec, 1, &n);
|
||||||
|
|
||||||
switch (rec.EventType) {
|
switch (rec.EventType) {
|
||||||
case KEY_EVENT: {
|
case KEY_EVENT: {
|
||||||
|
|||||||
Reference in New Issue
Block a user