Skip to content

Instantly share code, notes, and snippets.

@Keno
Created December 28, 2021 19:31
Show Gist options
  • Save Keno/3f093d62ea1ce0447066e4d891cdd6da to your computer and use it in GitHub Desktop.
Save Keno/3f093d62ea1ce0447066e4d891cdd6da to your computer and use it in GitHub Desktop.
diff --git a/programs/conhost/conhost.c b/programs/conhost/conhost.c
index 78f6e345170..35e050abf27 100644
--- a/programs/conhost/conhost.c
+++ b/programs/conhost/conhost.c
@@ -1385,7 +1385,7 @@ static NTSTATUS read_console( struct console *console, unsigned int ioctl, size_
if (edit_line_grow( console, 1 )) console->edit_line.buf[0] = 0;
console->pending_read = out_size;
- return process_console_input( console );
+ return STATUS_PENDING;
}
/* add input events to a console input queue */
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment