Update src/win/tty.c

Co-authored-by: Ben Noordhuis <info@bnoordhuis.nl>
This commit is contained in:
locus-x64 2026-03-12 20:44:31 +05:00 committed by GitHub
parent 05c2113b5d
commit a13b3412a1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -555,6 +555,7 @@ static DWORD CALLBACK uv_tty_line_read_thread(void* data) {
NULL);
if (read_console_success) {
assert(bytes > 0);
read_bytes = bytes - 1;
uv_utf16_to_wtf8(utf16,
read_chars,