Module: wine Branch: oldstable Commit: 577b41b1560ff0f3696e27ea78dfca83fc36ec6d URL: http://source.winehq.org/git/wine.git/?a=commit;h=577b41b1560ff0f3696e27ea78...
Author: Hugh McMaster hugh.mcmaster@outlook.com Date: Tue Dec 13 11:09:23 2016 +0000
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 (cherry picked from commit 6a3ffc4f3fa4c3b11658dce4a941e9ffcbf34317) Signed-off-by: Michael Stefaniuc mstefani@winehq.org
---
dlls/kernel32/editline.c | 2 ++ 1 file changed, 2 insertions(+)
diff --git a/dlls/kernel32/editline.c b/dlls/kernel32/editline.c index 6d2ad17..9eda65f 100644 --- a/dlls/kernel32/editline.c +++ b/dlls/kernel32/editline.c @@ -984,6 +984,8 @@ WCHAR* CONSOLE_Readline(HANDLE hConsoleIn, BOOL can_pos_cursor) } }
+ CONSOLE_GetEditionMode(hConsoleIn, &use_emacs); + GetConsoleMode(hConsoleIn, &mode); if (input_mode != mode) {