[PATCH v2 2/6] dlls/kernelbase, programs/conhost: return key state in ReadConsoleW with control

Jacek Caban jacek at codeweavers.com
Fri Feb 25 13:19:31 CST 2022


On 2/23/22 18:05, Eric Pouech wrote:
> diff --git a/programs/conhost/conhost.h b/programs/conhost/conhost.h
> index e5f70aa3ca4..35876689419 100644
> --- a/programs/conhost/conhost.h
> +++ b/programs/conhost/conhost.h
> @@ -88,6 +88,7 @@ struct console
>       unsigned int           read_ioctl;          /* current read ioctl */
>       size_t                 pending_read;        /* size of pending read buffer */
>       struct edit_line       edit_line;           /* edit line context */
> +    unsigned int           key_state;
>       struct console_window *window;
>       WCHAR                 *title;               /* console title */
>       struct history_line  **history;             /* lines history */


I think it would fit better in edit_line struct.


Thanks,

Jacek




More information about the wine-devel mailing list