kernel32: Use Emacs keymap mode immediately after wineconsole configuration change.

Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Hugh McMaster 2016-12-13 11:09:23 +00:00 committed by Alexandre Julliard
parent ec35394570
commit 6a3ffc4f3f
1 changed files with 2 additions and 0 deletions

View File

@ -985,6 +985,8 @@ WCHAR* CONSOLE_Readline(HANDLE hConsoleIn, BOOL can_pos_cursor)
}
}
CONSOLE_GetEditionMode(hConsoleIn, &use_emacs);
GetConsoleMode(hConsoleIn, &mode);
if (input_mode != mode)
{