fixed unicode input on windows
This commit is contained in:
@@ -113,7 +113,7 @@ void tim_read_event(i32 timeout_ms) {
|
||||
// received input
|
||||
INPUT_RECORD rec = {0};
|
||||
DWORD n = 0;
|
||||
ReadConsoleInput(h, &rec, 1, &n);
|
||||
ReadConsoleInputW(h, &rec, 1, &n);
|
||||
|
||||
switch (rec.EventType) {
|
||||
case KEY_EVENT: {
|
||||
|
||||
Reference in New Issue
Block a user