[PATCH] kernel32: Use Emacs keymap mode immediately after wineconsole configuration change

Hugh McMaster hugh.mcmaster at outlook.com
Tue Dec 13 05:09:23 CST 2016


Fixes bug 41732.

Signed-off-by: Hugh McMaster <hugh.mcmaster at outlook.com>
---
 dlls/kernel32/editline.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/dlls/kernel32/editline.c b/dlls/kernel32/editline.c
index e685e1e..415f28e 100644
--- a/dlls/kernel32/editline.c
+++ b/dlls/kernel32/editline.c
@@ -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)
         {
-- 
2.7.4




More information about the wine-patches mailing list