conhost: Allow events with left alt pressed in edit_line_insert.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=50197
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Jacek Caban 2020-12-02 18:20:41 +01:00 committed by Alexandre Julliard
parent e710aa081f
commit 90cdea1b65
1 changed files with 1 additions and 1 deletions

View File

@ -1277,7 +1277,7 @@ static NTSTATUS process_console_input( struct console *console )
^ ctx->insert_key;
if (func) func( console );
else if (ir.Event.KeyEvent.uChar.UnicodeChar && !(ir.Event.KeyEvent.dwControlKeyState & LEFT_ALT_PRESSED))
else if (ir.Event.KeyEvent.uChar.UnicodeChar)
edit_line_insert( console, &ir.Event.KeyEvent.uChar.UnicodeChar, 1 );
if (!(console->mode & ENABLE_LINE_INPUT) && ctx->status == STATUS_PENDING)