From: Piotr Caban piotr@codeweavers.com
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=56697 --- programs/conhost/conhost.c | 1 + 1 file changed, 1 insertion(+)
diff --git a/programs/conhost/conhost.c b/programs/conhost/conhost.c index 7610cb69c72..321b4e6c967 100644 --- a/programs/conhost/conhost.c +++ b/programs/conhost/conhost.c @@ -2691,6 +2691,7 @@ static NTSTATUS console_input_ioctl( struct console *console, unsigned int code, struct condrv_input_info *info; TRACE( "get info\n" ); if (in_size || *out_size != sizeof(*info)) return STATUS_INVALID_PARAMETER; + ensure_tty_input_thread( console ); if (!(info = alloc_ioctl_buffer( sizeof(*info )))) return STATUS_NO_MEMORY; info->input_cp = console->input_cp; info->output_cp = console->output_cp;