From df7ebd6973f696747139f61b6754293009b95cc7 Mon Sep 17 00:00:00 2001 From: Timerix Date: Fri, 9 Jan 2026 06:50:40 +0100 Subject: [PATCH] ReadConsoleInput -> ReadConsoleInputW --- tim.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tim.h b/tim.h index f9f6d2f..5a4a33b 100644 --- a/tim.h +++ b/tim.h @@ -818,7 +818,7 @@ static void read_event(int 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: {