Update src/win/tty.c
Co-authored-by: Ben Noordhuis <info@bnoordhuis.nl>
This commit is contained in:
parent
05c2113b5d
commit
a13b3412a1
@ -555,6 +555,7 @@ static DWORD CALLBACK uv_tty_line_read_thread(void* data) {
|
|||||||
NULL);
|
NULL);
|
||||||
|
|
||||||
if (read_console_success) {
|
if (read_console_success) {
|
||||||
|
assert(bytes > 0);
|
||||||
read_bytes = bytes - 1;
|
read_bytes = bytes - 1;
|
||||||
uv_utf16_to_wtf8(utf16,
|
uv_utf16_to_wtf8(utf16,
|
||||||
read_chars,
|
read_chars,
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user